First - get the right paint
Second - have the car assembled like the factory assembled it before it was painted
Third - paint it the same way the factory did, all at once with overspray here and there

It's my opinion they painted the car from the inside out, so interior then trunk then engine compartment then the car

Need more info like what kind of car to better answer your question