Go to your primary care physician, discuss your symptoms, get any tests they recommend (e.g. thyroid) -- ask about a prescription for an SNRI (Effexor) or a SSRI (sertraline).
They will start you off on a low dose, you should follow up about effectiveness and side effects in two weeks or so. You might try a few different dosages of a few different meds before you get the best response.
Also get a referral for a talk therapist, while you are waiting for the meds to hit.
If the talk therapy and meds and exercise are not working for you, then get a referral to a psychiatrist who prescribes meds and handles more difficult cases.
Do the above in the order I said.
There are many other lifestyle things that could work for you such as: going to church, getting a pet, learning a new skill, doing volunteer work, etc.
the reason why is that i look back on my life and realize ive managed to do so many things i never thought i would, ive been simply chatting about things ive done and had people worth millions say "id love to do that" i always ask why and they make excuses, usually "work commitments" despite the fact they already have more than enough to retire on, they have success but got so caught up in it they forgot to live along the way.
so you made a bad choice, write it off, put it behind you and move on and remember to have fun along the way, id rather die broke with a head full of awesome memories than on a pile of money with no worthwhile experience.
theres probably a balance in there somewhere but ive never been much good at finding it. its dark times now sure but youll get things back on track again and if life treats you anything like it treats me itll probably get ripped apart again at some point but if you dont take chances youll never get anywhere, id rather regret something i did than wonder what may have happened had i not taken the chance
but then im probably no example of how anyone should live their life
You are not alone. Many of us have had similar setbacks to you. Recognise the sunk cost fallacy aspect of it. What has happened is in the past. Extract the learnings from the experience so that you will embark upon new projects and not repeat those mistakes.
"It's darkest before dawn." -- let the sunshine in and pick a new adventure.
Please talk to a therapist about this and be completely open and honest with them, even if it costs you a lot to do so, because you won’t be able to find where you should go next until you’ve dealt with your past.