What happens
Lightning nearby can cause a voltage spike on the grid or on cables, which can damage sensitive electronics.
Surge-protected power strips
A good power strip with surge protection helps for TVs and computers.
In the fuse box
Surge protection can also be installed in the fuse box, protecting the whole home.
During a storm
Unplug expensive devices if you can, including network cables to routers.