Find something like this to interact with other human beings. Keys to health are physical, mental, and social. If you isolate yourself for such a long period of time, depression and hopelessness will kick in. A lot of rich people commit suicide because well, they don't have any "real" friends and actually interact in a socially healthy way. If you mean GF/BF loneliness then just talk to a random person of the opposing sex, after talking with a few girls whether they are interested in you are not will greatly boost your confidence.
talk to people in whatever way I can
Not being lonely, I know it's hard but try to find some group activity
In love with her.
Stay occupied, read, surf the web, work on you house/room/car etc.
I think sometimes I'm going to be alone, and those are the times I should take to get more familiar with myself and to learn how to be there for myself, too.
go to a bar or club and "get yourself out there"