I would try to find out what are the causes of your depression first, then try to remove or correct the cause(s), if possible. This might take some time as most professionals may not have answers for you and just hand you pills instead, but I would find out literature about depression and read as much as I can, so I can understand what is the actual underlying problem.
Once you can pinpoint the problem it is much easier to start working on reasonable solution...
Why are you being rejected by family and wider society? Has anything happened in your life that they rejected you? Why do you think so, why do you feel that your family hates you - is it only your perception or is there some reason? Therapists may help you to understand, they may give you the answer. Personally I don't believe that anybody would hate you for no reason, unless they of course have some issues on their own... Other times we 'read' into things that are not really there...
Sometimes is is easier to feel like a victim, perhaps it brings unintentionally the needed attention... and the attention feels good... However, being a victim sends out lots of bad vibes, and the bad vibes are cause of not having enough 'normal' people in life... So person who feels like a victim should remove those feelings and believes, he should be working on removing the self-pity...
Next issue, you cannot really make anyone to love you, not your family and not any girls... Everybody wants to feel liked, loved and admired, that is just a human nature, yet not so many people want to love or admire others. The best way is to start with yourself, try to learn to like yourself the way you are, with all perfections and imperfections you have, with all good and bad that comes with you... People really cannot like you if you don't like yourself at first. You have to learn to like things in your life, find some hobbies, things to do or read, positive stuff... Find passion in some activity, if nothing else, well - at least start lifting weights. You just can't go wrong with lifting weights, or perhaps joining some martial arts club, find friends there...
See, you have a Need for love, you have a Need for being loved - and this Need causes you the pain because the love is not there. Remove the Need and the pain is gone. In stead of desiring love try giving it. It will always come back...
Depression can be serious and recurrent, especially if you were already hospitalized. There could be easy solutions, but there might not be an easy one.... So I would definitely create some basic plan for myself, this way you can have some coping if needed in the future, and you could also move forward with your life... For instance:
1. Find causes of your depression, understand what is depression, find possible solution(s)
2. Change your belief system, your current belief system is quite negative. Focus on being more positive, it might be a cliche for average individual but it is a must for depressed people. Sometimes we just don't get anything in this life, we have to work hard to get what we want...
3. Exercise - lift weights, do martial arts,... Build strong body and healthy mind, build confidence and endurance, build self-esteem and persistence...
4. Find some good friends, 3-4 is good enough, have people to talk to when you are depressed, have numbers to call when you feel down... Simply PLAN ahead.
5. See therapists that can help you with depression. If not, there are good books out there, e.g. cognitive behavioral therapy, New Age,...
6. Work - of course - on seduction, read about relationships, go out and talk to girls, have fun with girls... After all, fun is what life should be about...
7. Sometimes it is good to change the environment you are in. If your family makes you depressed, well, move out. Build your own life, live the way you want. Go to college if you are not in, or find a good job.
Just a thought, there are obviously lots of choices in life and I've never done it myself, but if I were in my early 20's again I would seriously consider joining military. They'll train you for anything, they provide support, they pay for colleges, they can provide you with great education and training... I believe that after 20 years you get good retirement and benefits, you get signed up bonuses, they simply "line up" your life.... I know, many will say that life in military sucks. But so does life many times anyway. I know couple of guys who joined and they can't really complain - they got decent life, decent training/education, decent income, they know lots of people...
Anyway, good luck with whatever way you chose to walk...