The Only remedy for bad habits is counter habits; all the bad habits that have left their impressions are to be controlled by good habits. Go on doing good, thinking holy thoughts continuously; that is that only way to suppress base impressions.
– Swami Vivekananda.