Loneliness is a state of being that can creep up on anyone at any time. The unfortunate truth is that as we age, loneliness becomes a more common problem. But like anything else, loneliness can be managed and even overcome.

If you’re feeling lonely now that you’re in your golden years, it doesn’t mean you will feel this way forever. There are plenty of ways to keep loneliness at bay, no matter what your age is.

Here are five tips for keeping loneliness at bay once you enter your golden years:

Get out of the house and see your friends.
Don’t let yourself become a recluse. If you find that you’re spending too much time indoors, try to get out more often. Make it a point to see your friends on a regular basis, even if it’s just to spend time with them or share a meal.

It’s important to keep the connections you already have going, and it’s just as important to make new ones. If you find that you’re having a hard time making new friends, consider joining a club or volunteering in your community.

Make time for friends and make an effort to keep those relationships going. There’s no better way to combat loneliness than getting out and seeing people. Friends can provide you with companionship and even a sense of purpose.

Take care of your health by exercising and eating well.
Being healthy is one of the best ways to reduce feelings of loneliness. Exercise and eating well can help you feel good physically and mentally. They can also make you feel better about yourself and your body, which can help reduce feelings of loneliness.

Give yourself time to adjust to an exercise program, especially if you haven’t been active in the past. Be patient with yourself and don’t expect too much too soon. Take your time getting into shape and you’ll find it easier to manage your feelings of loneliness.

Stay in touch with your family.
Family is important, but as you get older, it can be easy to let the relationships with your family members wane. Make an effort to keep in touch with the members of your family.

If you’re feeling particularly lonely, reach out to the people you love. Send them a card or a kind text message to let them know you’re thinking of them. If you have children, grandchildren, or other family members close by, try to see them as often as you can.

Visiting your family can help you stay connected, even if you’re feeling lonely. If you don’t have family nearby, make an effort to reach out. You can place a call through or exchange pictures on social media, however you choose to go about it, just try to stay in touch.

Make a point of recognizing what you have to be grateful for.
Being grateful is one of the best ways to combat loneliness. Make a point of recognizing what you have in your life — friends, family, a roof over your head, access to health care and even food on the table.

If you find that you have too much time to spend dwelling on your loneliness, make a note of the things you have to be grateful for. When you have time to sit and think, write down everything you have in your life for which you should be grateful. It can help divert your thoughts away from the loneliness you feel.

Commit to staying active, both mentally and physically.
If you want to keep loneliness at bay, it’s important to stay active mentally and physically. Get out and see people.

Connect with friends and family members. Stay connected with the world around you. Learn new things, or revisit hobbies and interests from your youth. Stay active mentally and physically and you’ll find it easier to manage your feelings of loneliness.

Doing these things can help you stay connected with others. These tips for dealing with loneliness can help keep you from feeling lonely now and into the future.

Remember that there are ways to overcome loneliness and you don’t have to feel like you’re all alone in the world.