When repairs become frequent and costly, and the roof is near or past its expected lifespan, it is generally more economical to opt for a complete replacement.