I would definitely seek a restraining order. Understand it will get ugly, but it’s better than being smeared and accused of wrongdoings, with very nasty results.
I was subjected to some pretty heinous accusations, by a BPD female that was married and having a affairs with both of my superiors (eewww) . I did my job one Saturday... in a custodial emergency matter and then she went after me by using her two lovers because I followed the court order... I was smeared and effectively lost my job—those relationships came out after her soon to be ex husband hired a PI and attorney and got to the bottom of all it... I’m in legal battle to take on the employer for the actions, violating my rights.
So yes a restraining order, is a need... not all BPD are like this... my ex was not... she has left me alone... cover your

. Document document document—-and remember dates and times... and how you feel when your are near your ex... these things will demonstrate to those reading how it makes you feel and how it affects your well being... good luck...