It is very difficult to be happy alone.With our family,friends... remains happy is not difficult.
Actually human is a social guy,he wants company of some humans always.This question comes later company of like minded or not like minded,actually it does not matter but company is must for a human.
Now a days everyone is busy with himself and everyone is little selfish also. Everyone one wants to spend time with himself but it is seen that this loneliness does not make a person happy for long ultimately one requires a company to be happy.
There are many people who don't have company,family they have to remain alone most of the time,now they really needs guidance to be happy,here are a few suggestions...
First go to nearby stadiam or a park where you see some children playing at least observe them and remains self motivated.
Follow your hobbies at least one like reading,writing...
Try to meditate for one to two hours daily.
Sleep for at least ten hours
Cook your food yourself
Go on long drive
Go to visit some different parts of the country and outside the country.
Attend some sermon session and visit some ashrams.
Try to spend some time watching contents on YouTube of your choice.
Try to teach in school part-time as a freelancer teacher
Try to learn new language
Try to teach that language to others
Spend sometime time with aged people because they are also interested to spend their time.
Do take care of your health and have updates to remain healthy
And always have thinking that being alone is not a curse but an opportunity to know yourself deeply so always thank God for providing you such a great loneliness.