When staining a deck it is possible that you will get wood stain onto painted metal surfaces. If you allow the wood stain time to dry, you will have a hard time removing the stain from the painted surface. In some cases, you can try to wipe the stain off the painted surface with a rag wetted with mineral spirits. If this doesn't work, you must take more intrusive methods to remove the wood stain.
Fill a small container with water and add a drop of mild dish soap into the water. Soak 1000-grit wet/dry sandpaper in the solution for a minute. The dish soap and water act as a lubricant to ensure a smoother sanding job.
Sand the surface of the stained paint lightly with the wet sandpaper. Sand only the surface affected by the stain and only until you remove the stain from the surface of the paint.
Wipe the surface clean with a rag moistened with mineral spirits.
Apply a small amount of swirl remover to the surface of a clean rag and buff the sanded surface with the swirl remover until the paint's shine is restored to its previous state.