Sand. Fill. Sand. Fill. Sand some more.
Once the sanding is done, several coats of primer are sprayed on, with more sanding between.