For most applications, you should hold the spray gun between 6-8 inches away from the surface you're spraying.  If you go too close you'll increase overspray (also know as sprayback) and if you're too close it can cause 'dry spray'. Dry spray is where the material has time to dry before reaching the surface.