Develop a powerful self-affirmation or mantra and repeat it until you believe it. Expose yourself to motivational material on a daily basis. Recognize when your thoughts begin to turn toward negativity, and turn them back around. Do this until it happens on autopilot.