MOLDY CHEESE: What do you do with it?

If you have cheese with mold on it, do you simply cut off the mold and eat it .OR do you throw it out.
I was told that if it is a hard cheese it does not matter if there is mold on it, but something soft like creamcheese should be thrown out