I keep dreaming about my ex

I keep dreaming about him and it sucks because I still love and miss him. And I’m supposed to be in the process of forgetting him but dreaming about him and waking up the next day just ruins everything... it makes me want to check up on him, it makes me miss him, it makes me start off the day in a horrible mood. Only if I knew how to make it stop because I’m tired !!!!