Some cheese is moldy fresh from the package, mmm blue cheese. Same if the mold or fermentation is controlled and on purpose.
I guess it depends on what is moldy
Cheese, slice it off, bread, don't eat the moldy slices, fruit, veggies if they are big enough slice it off.
Anything else?
Nope, certain foods shouldn't be touched for "other reasons " if they have mold, meat would be very very bad, prepared foods likewise.