The answer to 'how to install surge protection' is to install a whole-home surge protector at the main electrical panel. This will help protect your home's electrical system and connected appliances from damage due to power surges and lightning strikes. Surge protectors divert excess voltage away from your electronics, preventing costly repairs or replacements.
To install a whole-home surge protector, you'll need to turn off power to the main electrical panel, connect the surge protector to the panel's main breakers, and then restore power. This is a job best left to a licensed electrician, as it involves working with the home's main electrical system. They can ensure the surge protector is properly sized and installed to maximize protection for your home.