Getting over a breakup?

Mostly for the girls but guys welcome to give some input.
I was seeing a guy on and off for around a year and a half (more on then off). However communication broke down and long distance made things hard and I found myself getting attached in an unhealthy way.
He wasn’t perfect and definitely hurt me, but he is a good person. How do you get over a separation with someone who is a good person? I don’t want to speak to him (i tried that before and I got the opposite of closure🤣). Any tips? I’ve been trying to move on for about 4/5 months now and I’m not really getting anywhere💀
Getting over a breakup?
Post Opinion