Repair first, replace when it is genuinely warranted
A lot of what gets quoted as replacement is repairable, and a lot of what gets patched should have been replaced years ago. The contractors worth hiring will tell you which one you have, and explain why. That conversation is worth more than any discount.