I was a post audio engineer for over a decade and I agree that eliminating noise earlier in the stack of recording stages is best, but there's a lot you can do in post as well. Ideally, the mic should be a quality mic - no question. A well-placed and consistently-distanced mic (not bouncing in and out of the target spot) is helpful. Be sure to record a good bit of background noise before and after shooting. About 3 minutes before and 3 minutes after ought to do. This will help your post crew in recognizing what they're trying to take out after-the-fact. Could be planes every 45 seconds, a refrigerator every minute and ideally... the general noise floor.
In post, you can gate it, EQ it, process it out with specialized filters or do some really powerful, albeit time-consuming tricks with phase inversion. The replies are right though... no matter how you "can" fix it n post, the best scenario is proximity to the subjects and loudness from the actors.
I'm not up my mics, but the above are some nice mentions.