Drywall problems tend to look worse than they are. Nail pops, hairline cracks at seams, dents, and small holes are all routine repairs. With the right patching, compound, and sanding, they disappear completely once the wall is primed and painted.
Larger holes, like the ones left by a doorknob or a removed fixture, can also be patched by cutting in a new piece of drywall, taping the seams, and finishing in several thin coats. The key is feathering the compound wide enough that the patch doesn't show under the light.
Replacement makes more sense when the board itself has failed. Drywall that has been soaked by a leak turns soft and crumbly, and it can hold mold behind the surface. In that case the damaged section should be cut out, the source of the water fixed, and new board installed. Sagging ceilings usually fall into the same category.
In bathrooms and laundry rooms, it's worth using moisture-resistant board for any replacement. And whatever the repair, always prime the patched area before painting. Fresh joint compound absorbs paint differently than the wall around it and will show through if it isn't sealed first.
