Two-factor authentication is genuinely your best defense here - it means even if someone gets your password, they can't actually get in without your phone or authenticator app. Most platforms let you set it up in settings pretty easily, and honestly it takes like two minutes but stops most hackers dead. You'd be surprised how many people still skip it.
Beyond that, a strong unique password matters way more than people think. Password managers make this painless - you don't have to remember anything, just a master password, and the app fills in different strong passwords for each site. Then go through your public profile and check what's actually visible to strangers. Birth date, phone number, where you work, hometown - scammers use all that stuff to either target you directly or impersonate you to your friends.
One more thing that actually works: check your login activity if your platform shows it. Most apps have a "where I'm logged in" section that shows devices and locations. If you see something weird, log it out and change your password. And if you do get hacked, move fast - reset your password from a different device, enable two-factor if you hadn't, and message your friends to let them know before scammers do it for you. The damage control matters more than the hack itself at that point.