Sanding, then primer, then more sanding, then more primer, repeat until you get the desired surface quality, then paint, then sanding, then clear coat.

And then more sanding, more clear coat, then polishing..... It only stops when you're satisfied, so keep your standards low.