Yay, puppies!
I'd suggest for anyone who is planning on getting a canine companion-- to always adopt.
They have puppies at adoption centers as well as older dogs. Older dogs *always* need homes.
It's best to do some research on the different breeds to see if your home environment will be suited to them or not as some dogs need lots of space to run and some dogs are fine being indoors most of the time.
Puppies are alot of work. You need to be home most of the time- if not ALL the time to look after them, give them attention, train them and bring them out for walks.
Older dogs already have that experience and they're often much more low energy and just happy to sit on the floor near where you are. If you don't plan on going out on walks 2-3 times a day, I'd suggest getting an older dog.
But who knows? You may find yourself going to the pound and falling in love with a dog who wasn't even on your radar in the first place?
I grew up with both dogs and cats.
My mom used to foster dogs when I was just a toddler and much of the time, she would be re-training them because they were unfit for a family home due to the way their previous owners abused them.
We had adopted an abused puppy (a golden lab/retriever) shortly after my brother was born and he lived to be 16 years old before we had to put him down (and he ate people food and chocolate regularly since he was a pup XD)
Dogs take alot of time and patience and energy (and some money for regular vet appointments/ nutritious kibble)
So, if you have those things - go forth! Hail ye canis lupus familiaris!
oh! I almost forgot to say... one of the best cures for lonliness is having a pet companion. You take care of them and feel needed and wanted. You have someone to talk to and someone who will always be there for you. For many people, a pet is much like a child. A small hairy child that you keep in a cage and feed kibble to. haha
My dad was a hermit for 8 years and severely agoraphobic. Last year, I adopted a cat for him and he has made SO much progress since then. He goes out, he works, he made some friends and he spoils his kitty as much as he can afford to. She's become his baby and she keeps him company at all hours of the day/night.
If you can- getting an animal may be able to give you some hope and a sense of purpose again. (assuming you thought you lost your purpose)