It is often said that very lonely people need to learn to love themselves, become their own best friends and enjoy being their own company until they will be desireable as a relationship partner!
There is a problem- relationships cannot be modeled in the abstract- they do not test well under labratory conditions! This means that you honestly must connect to people in order to learn how to BETTER connect with people!