Time comes when a person become pessimistic. To overcome it the only way is try to true yourself little by little towards positive side. The amazing tips have been given in this link to overcome negativity : http://www.dadabhagwan.org/path-to-happiness/self-help/positive-thinking/