I can relate.. and actually you have to try to motivate yourself with something which would force you to go out and then you will get used to it by time..
For example you can try to motivate yourself by searching for a book and you can just go out and buy it and then you can enjoy reading it in some quiet and relaxing place with a hot cup of coffee ...
Answering your question, ya I went through this and I just motivated myself by convincing myself that I need to see people to feel happy and to just get out of the depressing, miserable part of my life and that I need to enjoy my life to be happy and get back to normal..
Hope my suggestion helps