[header] How to cope without friends on a temporary basis [title] Pick up a new hobby. [step] A big part of loneliness is mental and boredom. Stewing in your own thoughts and fixating on how lonely you are can exasperate the problem. 
Finding a new hobby is a great way to occupy your mind and to stop dwelling on your loneliness and funnel your energy toward something new and exciting. Many hobbies include other people but there are plenty of fun things to do alone.