We apply primer before painting the wall to ensure that the paint does not peel or crack easily. Proper surface preparation with putty and primer is important, especially in humid conditions. Besides, the primer helps get a better finish and increase the longevity of the paint.