Screws or nails popping out of the wall indicate that the drywall is not properly secured to the frame in that area. Simply screwing or nailing the fasteners back into the wall won't fix the problem. Instead, you need to insert new fasteners in an undamaged spot near the popped fastener to secure the drywall.