If the appliance is less than 10 years old and the repair cost is less than 50% of the cost of a new unit, repairing it is generally more cost-effective. For older appliances or those with recurring issues, replacement may be a more practical choice.