How to get rid of bad habits?

All of us have some kind of habit we'd love to get rid of. Some of us have more than one. It does not matter how many bad habits we have or what they are. Most important is how to get rid of them. Not just for a season but forever.
Do you have a habit that you want to get rid of? What steps are you taking to get it off? If you have succeeded, can you share with us your experiences plus some advice?