A whole-house surge protector can prevent external power surges from damaging your electronics.