First, let's explore these three options from above.....
Should you seek revenge? No. It is not our place to seek revenge. We are called to forgive those who have hurt us and love them anyways, not seek to hurt them back.
Should you crawl into your own little shell and never come back? No. I think that people need others- some more than others. But I do not think that you should give up on people in general. Although, I would suggest to learn from the past.
Should you always cling to people when you are hurt? Again, I'd say- no. I think that first of all, you need to run to the Lord. The Lord does place people in our lives to help us and show His love to us. But do not become only dependent on people and let them take the place of the Lord in your life.
So, what do you do when you get hurt by someone? I think the first thing you should do is run to the Lord. Tell Him all about it. Even though He already knows, I think it helps to just tell Him all. Ya know? He will show you what to do.
Do not seek revenge. Leave that to the Lord.