Bestfriend with my ex

So idk there was a post earlier and I commented this their but basically my ex is trying to make me jealous by hitting on my best friend we broke up three years ago over a whole bunch of issues( no one cheated ) so I never hated him he didn’t do me wrong (we were each other’s first love)but we were both in whole other relationships after now after three years he hits me up while I’m broken up with my bf and we talk I felt the happiness come back we were all about each other and he wanted to get back I wasn’t sure because I know wat kinda person he is like he gets mad about everything he’s really controlling so I didn’t know if I really wanted to get back with him even though I know I was starting to gain feelings. By this time my bf that I had broken up with wanted to get back with me because we broke up over a misunderstanding and I took him back because to me it’s like why should I throw away 2 years for an old ex. So now my old ex thinks I just came out with a bf out of no where in the middle of our talking stage and thinks i did him wrong now he’s flirting with my bestfriend and she tells me but lowkey I feel like she likes him because he’s exactly wat she wants in a guy. He’s her type of guy and she tells me she’d date him if he wasn’t my ex and she literally tells me that she can’t get him off her mind I don’t mind or care but I know she’s not his type and he’s playing with her to get me mad it’s not getting me mad but her feelings are being played with. Idk if I make sense but someone tell me wtf to do