It completely depends on you. A primer is just rubbing alcohol mixed with glue. As alcohol is volatile in nature, evaporation will occur and therefore the adhesive will remain on the surface. So when the paint comes into contact with the glue, it sticks.  Also, note that not all surfaces need to be primed. Some of the advanced surfaces come pre-adhesive, making them easy to work with.