Breaking habits and patterns is very difficult. This is the work of a lifetime, and it will take every human all the effort they can muster to be authentic, sincere, consistent, and content. The tendency is to want the other person to make changes, to stop this or do more of that. But we don't have control over the other individual in the relationship. All we can do is work on ourselves.
When you do the tough work of being sincere, letting go of control, being consistent and behaving with dignity, you will find that you are free. You might or might not get him back, but you will attract the right person into your life if you committ to being the best version of yourself that you can possibly be.
More from YourTango: How To Stay Single & Miserable This Holiday Season