Your social media posts may be used to build a strong case against you in court if you’re not careful. Heated divorce cases can lead people to take drastic measures. A vengeful ex may even resort to stalking your online accounts in order to gather personal information that could sabotage your character.

But there are some things that you can do to keep your social media posts from ending up in the courtroom. Here are some tips on how you can prevent yourself from becoming a victim of cyberstalking.

Change the privacy settings on your accounts

Changing your privacy settings to control who can view your accounts can be an effective tool to prevent a cyberstalker from accessing your content. Most social media websites such as Facebook allow users to change their privacy settings in a matter of minutes so that you can keep unauthorized people from viewing your page. Remember, if you have your accounts set to public, anyone can see what you post at any time.

Avoid bad-mouthing your ex-spouse

It can be tempting to want to express your frustration with your ex-lover on your personal accounts. However, resisting the urge to post defamatory content can help prevent an ex with malicious intent from screenshotting your posts and using them against you.

Update passwords often

Resentful ex-spouse’s may try to gain access to your accounts in order gather personal and possibly incriminating information. Changing your passwords often can prevent a would-be hacker from getting into your accounts. If you need to, you can set a reminder on your phone to change your password every 30-45 days.

Air on the side of caution when posting private details

Always assume that any of your posts could be read aloud in court and adversely affect your case. Be careful when sharing private information on your accounts as this has the potential to lead to self-sabotage.

You also may want to rethink allowing apps to access your location. You may want to remove these types of apps in order to prevent a cyber stalker from knowing where you are.

By being smart about what you post, you may be able to prevent yourself from becoming a victim of cyberstalking and letting your ex intimidate you from fighting for what you deserve.