Cracks, nail holes ... Use fine-grit sandpaper or a sanding block to gently go over the entire wall. Focus on areas with old ...
Worse still, without the paint protecting the surface, the underlying wall material can be damaged too. Flakes, bubbles, spidery cracks ... including old paint, moisture, improper surface ...