On hard cheese, yes: cut an inch around it.
Mold can't easily spread through dense, hard cheeses like cheddar, Parmesan, Gruyère or Swiss. The USDA says you can save them by cutting off at least 1 inch (2.5 cm) around and below the moldy spot. Keep the knife out of the mold itself so you don't drag spores into the clean cheese, and rewrap the cheese in fresh paper or wrap.
Soft cheeses are different. Brie that's grown unwanted mold, cottage cheese, cream cheese, ricotta, and shredded, crumbled or sliced cheeses should be thrown away. Their moisture lets mold threads, and possibly bacteria, spread through the cheese where you can't see them.
Some cheeses are supposed to have mold. Blue cheeses like Roquefort and Gorgonzola have veins of safe Penicillium mold, and Brie and Camembert have edible white rinds. Those are fine, unless a different-looking mold appears.
When in doubt, especially with soft cheese, throw it out.