How do I let go?

I was in a relationship with a guy who's going to college and I let my mental health push him away and we've broken up. I still love him and I'm trying to let go, I've deleted all of our photo's and blocked his number and all social media but I still feel the need to cry, call, or text. How do I let go?