Remember that you cant change people. You can only change yourself. Do not hold yourself responsible for anything your ex did. Thats on him/her!
Focus on yourself, make alot of me time and alsways try to find the lesson from the event surrounding the break up because thats how we learn.