How long did you get over a breakup?

It’s been four months for me. He left to pursue someone else. They became official last month. I’ve stayed off social media, read self-help books, workout on a daily basis and I even went back to school to to pursue a higher career. I don’t know what else to do. Some days I’m okay but the pain seems to sneak back in just when I’m starting to feel okay. I don’t know what else to do or think 😞 is it because 4 months is still fresh?