Consider talking to a doctor about medication. I have no medical training, I'm not going to advise on medication. But there are different types of medication. There are different types of anti-depressant, and there are anti-anxiety meds.
While you're doing that you might need to put in some work on building up resilience. This will include support networks of people to socialise with; education and work stuff; exercise; etc. It'll include getting your food sorted out, and your sleep hygiene.
Expect to put in a lot of work.
But good luck!