Do as much prep work on the metal as you can. Sometimes, it's easier to fill the pits before you paint. Then, hit it with etching primer and wet said it where it needs. Then, hit it with high-build primer. Wet sand it with 400 grit sand paper. If it looks good, wipe it down with a paint prep cleaner or rubbing alcohol and a lent-free rag.
Then you'll be ready for paint. I know it's a lengthy process, but it's the only way to get a nice finish with rattlecan paint. Be patient and no one will ever know it's not professionally sprayed.