Ah shit man! Do you live in a place where wealfare is an option?
What's your resume like? Could you find work again?
It's a horribly helpless feeling to lose your aource of income and fear the worst as a result. Stating the obvious I know. Just saying I feel you man! Been there and I just know.
Even worse when you're low on motivation and health. When I had my health, things of this nature would kick me into overdrive to get shit sorted but if it happened to me now I don't know how the hell I could manage. Its terrifying and I live in a place with welfare.
I would say eat, get sleep and come up with a plan. First of wgich should be to look for any support available in youe community. Churches often to food packages ans know of crisis teams that can help you in the shell shock period. It's not pwrfect but there are various resources we never hear of until we're in need. Maybe they'll even find a way to help you rent if that's an issue. Hope yoy have some family you can leab or something
Best of luck man. We're here to listen to you vent, offer you crap advise and remind you you're not entirely alone.