It sounds like you need to start with a protection order, you don't have to prove harm for one of those, just that you don't want them around you and they won't stop.
Then if she shows up violating it, or continues to contact you electronically, it is illegal and the police can do something...