Breakup advice?

Anyone have any advice for me? Everytime I break up with my ex I have the urge to go back to him. I want to be done with him. We're not happy anymore. What can I do to keep my mind off him? Im always alone. I'm an only child and don't have many friends. My phone is always dry, it's like I'm waiting on a text I don't even want. Nobody to vent to just ugh 😩