Good advice. At the very bare minimum, Make sure your router firewall is enabled and the password is reasonably strong. If you open up any of your router firewall ports to enable port forwarding (so you can see home security cameras when you are away from home, for example), double check the security settings.
Never ever leave any internet-enabled device of whatever type, even if it's only a smart plug controlling a timer, with its default password.
And most important of all, NEVER open an attachment or click on a link in an email, even if it's from someone you know, unless you are expecting it. Nearly all malware infections don't come from a hacker getting into a computer, they come from a naive or gullible person letting them in.