When bad thoughts enter your mind, as they sometimes will, treat them as the unannounced guest. Politely greet them at the door and turn them away. Then move on without a passing thought.