If you notice small bumps protruding from your wall this is likely what contractors call a nail pop. As new homes settle drywall shrinks causing nails or screws to protrude from the drywall.
You need to first find out if the protrusion is caused by a screw or a nail. You can do this by pressing a Phillip’s screw driver into the center of the protrusion. If it’s a screw the screwdriver will set into the head of the screw and turn letting you know it is a screw. Simply turn it until it is slightly recessed into the wall. If the pop is caused by a nail take your nail punch and press over the opening and tap the end of the nail punch with your hammer until the nail is slightly recessed into the wall.
Next apply a layer of quick dry spackling compound over the surface. Allow this to dry and then sand the surface. You may need to apply another layer of compound and sand it again. Once you have allowed this to completely dry you can apply fresh paint over it.
If the nail pop is in the ceiling you will need to set the original nail and then drive in a second nail approximately one inch from the old one or the nail pop could reoccur.