Properly ground all power, telephone, and coaxial cable lines through an approved surge protector! (DUH!)
Also, a UPS with a runtime of a few minutes, available for under $100, is a good investment as it gives you time to save your work and shut down your computer properly.