It has been my experience that when I have been rejected from someone whom I really desired to be accepted and loved by, my response is to lash out in anger towards them. This is because they hurt my feelings. Life is just full of different situations where people are not nice to us. God's instructions for us are really clear. We are to be like Jesus and not fight. We also are to forgive them for the way they have treated us.
For if you forgive men when they sin against you, your heavenly Father will also forgive you. But if you do not forgive men their sins, your Father will not forgive your sins.
1 Peter 2:23
When they hurled their insults at him(Jesus), he did not retaliate; when he suffered, he made no treats. Instead, he entrusted himself to him who judges justly.
If we walk closely with God, the fruits of the Holy Spirit will help us. A few of them are love, joy, peace, patience, kindness, gentleness and self control. it takes two to argue, the best choice we can make is to remove ourselves from the other if a hurtful situation begins. Then talk to a friend we can trust about our frustrations as soon as possible.
The sooner we can do these things the better we can protect ourselves from effects of getting rejected. Many times people don't mean to hurt us, but if we can learn to avoid getting hurt, we will experience a lot less pain when rejection comes knocking on our door.