I'm getting hacked on my online accounts. What can I do to secure them?

Most of my online accounts are getting hacked. I think it might be because I accidentally installed a virus when I was trying to mod a game. I used Windows Defender to get rid of it but I might have been too late.

Before I deleted it, I noticed that my Instagram was following 1,500 other accounts and it was posting about cryptocurrencies. I immediately changed the passwords to unique ones on most of my online accounts including my Gmail, Steam, LinkedIn, Facebook, etc. I've also enabled two-factor-authentication wherever I could. Unfortunately, my Epic Games account had its email changed so I'm currently trying to get it recovered.

Recently, I started getting emails about suspicious activities on my other accounts I forgot about and I've fixed them too. What else can I do to secure my accounts?