As you understand what Christ has done for you, remove hidden provisions for defeat, live in the fear of the Lord, become mighty in Spirit, and use temptations as signals to seek God, you will conquer impure thoughts. And as you win the battle over impure thoughts, impure habits will be purged from your life.