You can apply for a Restraining Order if you are being harassed by another person and the harassment has happened at least twice in the past 12 months.
A Restraining Order makes it a crime for the person who has harassed you to:
contact you in any way
do things like watching you or hanging around outside your home
follow you or stop you in the street
do anything else that gives you a reasonable fear for your safety.
It’s also a crime if the person who has harassed you threatens to do any of those things, or encourages someone else to do any of those things to you.
If you were the victim of a violent offence where the offender was sent to prison for more than 2 years (and you were not in a domestic relationship with the offender) and you want to stop them from contacting you in any way once they’re released, you need to apply to the court for a Non-Contact Order.