You might be hurt badly at this moment. Just never make the mistake to give up. You will loose your chance to something better and you stay in that painful place forever.
You just have to understand that pain is not something to fear or back away from. Pain is here to test your willpower, your bravery and your courage. The strong will keep their head up and will not give in to any struggle, they figure out a solution and go past it. They know at the end of the road there is the reward.
If you are in a place where your relationships have hurt you, take an example in how the strongest people around you handle the struggle. And you also should just remember Bob's message;
“The truth is, everyone is going to hurt you. You just got to find the ones worth suffering for.”
― Bob Marley