If you want to change how you feel, change how you think. Use positive affirmations.
"My life has been filled with terrible misfortune, most of which never happened."
Michel de Montaigne
Michel de Montaigne
If you had allowed failure to deter you, you'd still be crawling on all fours.