Remove the glass top and set it aside. Take the wrought iron base to a well-ventilated area and set the table on plastic sheeting. The area around the table should be protected from overspray.
Brush the surface of the metal with a wire brush to remove any rust, peeling paint or debris. Clean off the surface with a rag.
Spray the base using a primer spray paint that's designed for wrought iron. Apply several thin coats, allowing 30 minutes drying time between coats. Allow your final coat to dry for four hours.
Spray the base again using a paint rated for wrought iron. Typically your primer and finish paint should be made by the same company so they work well together. Apply several thin coats, allowing each coat to dry for 30 minutes. Allow your final coat to dry for 24 hours before using the table.