Doing creative activities can help decrease these bad moods.
For instance, you can knit scarves, sing songs, write sometime, draw pictures and so on.
Unfortunately, not all people are lucky to get love and care; and connectedness from each other. If you can control it with your mind set, you will get balanced.
So, to save yourself, you have to strengthen yourself by empowering your mind. The more you can create the connection between yourself and the world, the less loneliness you have to suffer from. Live with your mindfulness of actions and do it well.
Hence, if you aim to combat loneliness in marriage, love or divorce, you should try to have small talks with people.