Whenever, I tend to think negative, I forcefully remind my self the story of a Brahmin and a Celestial tree. I am sharing the story here for the benefit of all.
The story warns about the need to keep a constant check on our minds to avoid negative thoughts, and brings about a realization of the highly attuned knowledge which already existed in India thousands of years ago.