Rejection can cause endless pain. The best way for you to avoid it is to simply stop thinking about it and to move on with your life. Rejection should not also be taken personally. The reason that led to you being rejected can be quite different from what you make them out to be. Sometimes, the mindset of the other person may lead to the rejection, which is in no way associated to the type of person you actually are.