I've been where you are and have slowly got myself doing things too not be as lonely.
I have a pet bird which helps a little bit, sometimes having an animal isn't enough for me.
I have a few mental health problems which ive worked on with a psychologist over 25 years.
I had no trust for anyone, I decided to join a church as I thought most people there won't lie to me which has allowed me to find people that I can trust. Im not saying you should go to church but joining any group you might find that one person who can teach you what trust is, through that you can take your time to feel again which will be painful but it will help you grow, maybe finding a psychologist who you can talk to before you make the next step.
Im not a doctor or anything im speaking about the journey I went through. (((Hugs))))