Sometimes we can drive ourselves crazy trying to keep negative thoughts out of our minds. Personally, I find that the best method is to notice the negative thought, say to myself, "Ah, there is THAT negative thought again" and then just let it go. Do not react to it. Do not dwell on it. Do not beat yourself up for having it. Just notice it and then let it pass.