Unfortunately, rejection is an unavoidable part of any job hunt – you have to remember it’s just another ‘no’ and not take it personally. The key thing is: what are you going to learn from it? Is there a way that you can now look at things differently? Rather than thinking of rejection as a ‘no’, try thinking about it as a learning experience. How can you improve for the next one?
Move on from the negativity by finding things that motivate you. Maybe that means having affirmations around you, or reading something motivating, or watching a TED Talk, or doing an activity that puts you in a positive mind frame.
If you’re really stuck, you might want to invest in a career coach. Someone you’re comfortable with, who can provide you with job-search tools as well as a different perspective, and help manage you through rejection. Success will come, you just have to believe it will arrive.