Rejection should be taken as a learning process which gives you an opportunity to improve yourself. The end of one thing is start of another, so rejection must not come to you as an end of anything. The best way to deal with rejection is to turn it into acceptance. Rejection gives you a chance to know the type of person you are and you must not change yourself for the fear of getting rejected. Because doing so, would only backfire in the long run.