A breakup

I'm going through a break up. It happened like three weeks ago and two weeks no contact. Most days I'm okay and when I'm with friends it's better but today I just feel really sad and I miss him. I had dreams all night about being happy with him and thinking of all the ways I could've been a better partner. I still love this person even if he wasn't right for me. I'm just so sad and if anyone had any advice to give on how to get through this I'd be so grateful ❤️