My cousin had to deal with her crazy ex husband harassing her. She finally bought a pistol, learned to shoot, and when he would sit on the opposite side of the street and shine the car's bright lights into her window, or stand outside yelling at her, she started taking potshots at him. She had informed the neighbors who, of course, were sympathetic to her. They would call the police saying he was back at the house, but when he said she shot at him, they never heard a thing.
She had every order in the world on him, but he kept on. She finally moved out of state to be away from him. At least, after she bought the gun, he did quit coming by the house.