What kind of social groups are you trying to join? Have you tried organisations such as meetup.com?

It sounds as if this is more than loneliness, but I'm not a dr... Keeping in touch with your GP is always a good plan....