To file for a restraining order you need to go to your local court house and talk to the court clerk. Tell them why you need the order. They can assign a temporary order. You will have to go to court for a permanent order. Make sure you tell the truth cause you can be charged with perjury.