The right time to apply a primer is after the walls have been smoothened out after application of the putty. The paint and the final finish are applied after the primer is applied. It helps in adhesion of paint to the walls.