I've learned over the years that for me (and perhaps for others), one of the keys to breaking a bad habit is accountability. You must be accountable to yourself and to others. Name that habit. Shame that habit. Go public with the struggle. Chances are you'll find that others are struggling with the very same thing.