It depends on age, the cost of the repair, and how the rest of the unit looks. As a rough guide, if the equipment is well past the middle of its expected life and the repair is a large fraction of replacement cost, replacing usually wins. We will give you both numbers and an honest recommendation.