The negative thought will try to enter your mind again and you will have to replace it with a positive one, AGAIN. Persistence will eventually teach your mind to think positively, and to ignore negative thoughts.
It is as if there are two pictures and you have to choose to look at one of them, and disregard the other.
Kick that negative thoughts ass to the curb!
How do you keep your thoughts positive?