For every negative thought you think, replace it with something positive.
"Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment."
Buddha
Buddha
If you had allowed failure to deter you, you'd still be crawling on all fours.