Sometimes particle board was used for construction ... the surface will need to be sanded. When wood putty or filler has been ...
Look for solid wood pieces, as they tend to hold up better under paint compared to particleboard or laminate ... fill them in with wood filler. Allow it to dry completely and sand it smooth ...