Do not try to fight loneliness. It is a natural part of life, like thunderstorms. You can try to tease it apart, understand how it works, where it comes from, try to predict it, come up with coping mechanisms. But the storms still come regardless. They are here for a reason, with their appropriate place in a natural system. But we don't need to understand the reason to accept it. Acknowledge the feeling, sit with it for a little while. Eventually the weather will change. Learn to enjoy these changes in the weather; each has its ups and downs and is interesting in its own way.