Apply for a restraining or protection order A restraining order (protection or no-contact order) is an enforceable legal document that stops a harasser from repeating problematic behavior. A court grants this order and the police enforce it. You will need to serve notice to the harasser.