I think firstly you need to specify what "being alienated" is, i mean it could be emotionally or physically.
You're emotionally alienated when you're emotionless towards a group of people (could be friends), even though you see and/or talk to them a lot. This could be caused by a disparity in ideologies, and you realize that the beliefs that you adopt are different.
On the other hand, you're physically alienated when people do not talk to you and not care about you. This is quite straightforward and i think you can grasp the idea.
Now here are some ideas that came into my mind:
1/ you may start to wonder whether your beliefs are true or not, and what kind of people you are to be rejected by people. Are you a kind person? Do you deserve to be rejected?
2/ when you are alienated, you're lonely. As a result, you may start to develop some kind of inner characters, which help you to face loneliness. You may be stronger, and more optimistic. Of course, change takes courage.
Hope it helps.
