My boyfriend ex making me nuts

My boyfriend ex is driving me nuts because they boke up two years ago and she is making my bf lives miserable, she findout we are having a baby and she is texting me showing me pic when they use to have sex and telling they still have sex when he goes visit the kids, and now she is putting a restraining Oder agains me!! When she is the one the contact me on Instagram so my be make me erase it 😢 he said not to have or put nothing  is like she is controlling me 😢