It depends on the extent of the damage and the age of the roof. For minor or localized damage, patching is often sufficient. However, if the roof is old or has extensive damage, replacing it might be more cost-effective in the long run.