Think of it as an opportunity. Sometimes even the seemingly negative things in our life present us with opportunities we wouldn't have been strong enough to pursue otherwise. Maybe losing your job is just the chance you need to start your own business or go back to school.
Work on visualization. Picturing what you want to accomplish or the person you'd like to be can be a greta motivator to getting there and helping you feel more positive about the distance you have to go yet.