Most roof calls we get start the same way: a stain on a ceiling after a hard rain. The question behind every one of them is whether the roof needs a repair or whether its time is up. The honest answer depends on three things: the age of the shingles, how widespread the wear is, and what the wood underneath looks like.
A repair makes sense when the damage is local. A few shingles lifted by wind, a cracked pipe boot, or flashing that has pulled away from a wall can be fixed for a fraction of a replacement, and the fix can last for years if the rest of the roof is healthy.
Replacement makes sense when the wear is everywhere. Look for shingles that curl at the edges, bald patches where the granules have washed into the gutters, and soft spots that give underfoot. Soft spots mean water has already reached the decking, and patching shingles over rotted wood only hides the problem.
Whichever way it goes, insist that damaged decking is cut out and replaced rather than covered. On a tear-off, that is the one moment the wood is visible. A good roofer shows you what they found and prices the repair before the new shingles go on.