Can’t take my mind off an ex

I know this sounds sooo pathetic but I really miss my ex boyfriend. We broke up a few weeks ago now, after going out for over a year and he was a massive jerk- broke up with me over text and immediately hooked up with someone else. I should hate him, but I don’t. In fact I really miss him to the point where I can’t sleep at night because I’m thinking about him 😭 I just miss being wanted... the hugs, kisses, affection. This sounds so cringey but literally every morning I wake up and check my phone, hoping to see his name on my notifications saying that he’s sent me a message, but that never happens :( why is he having this effect on me??! He was such a dick to me but I still want him and miss him, yet he seems to have forgotten I exist. How can I take my mind off him? 🥺 I know time will help but it’s already been a few weeks and I still can’t stop thinking about him