How do you get over someone?

♡ 𝓚𝓪𝓽𝓻𝓲𝓷𝓪 𝓵𝓸𝓾𝓲𝓼𝓮 ♡

I don't know why I can't get over my ex husband who I've been separated from for 5 years now. We are both single now and he constantly does things to annoy me and make me mad and cry with anger and frustration because I just want us to get along but in the same breath I end up being nice to him and make myself look like a fool who's just chasing him in an unhealthy cycle of wanting to seek approval of him. I'm raising our kid alone and all I ever wanted was to be a family so I know that's a factor but I'm still legally married to him nd I swore id never divorce in my life but we don't act like a married couple, we aren't even together.

While I was with him in person we were together and since we broke up I've been in my home country the UK while he continues to live in the States so maybe part of my mind thinks we are good cause I've not seen him in person during all this breakdown of our marriage

What do I do ?