Make sure that you use exterior grade paint that is designed for painting metal. Exposing your wrought iron fence to just any kind of paint makes it prone to oxidation, which will weaken it and encourage rusting.