Ailing Appliances

When something breaks, what do you do? Repair it or buy a more energy-efficient model?