How can one get rid of bad habits?

Lama Ole’s answer:

For one thing, the three pillars have to be present on all levels. The first pillar is information. You need to understand the situation and know where you want to go. The second pillar is meditation. This means creating space so that mind can manifest its radiant power and what is not needed can trickle away. The third pillar is holding the view. You decide to not make the mistake again, no matter what happens.

You can check your mind in the same way that you first recognize water by the ducks swimming on its surface, even before you see the water itself. Through certain emotions and tendencies, you can observe your mind and find out how far you have already come, how much your mind still sticks to this or that concept or how much free space you already have.