Also, I would take any job, even a non technical one, just to stay busy and to try to keep the bills paid and to stay in a regular rhythm.
For your medical / mental issues you should most likely simply consult a professional, no internet advise will help you there in ways that move the needle and/or are positive.
best of luck!
edit: And if you have family don't hesitate to call on them. I did so in hard up times and my kids do it with me and that's how it should be, it can take a while to find your bearings and that is one reason why family members should support each other. Of course if you don't have much family or they are in no position to help then you can safely ignore this.