I've been doing contract work now for 20 years. When recessions bite, I'm the first to be out of work, as I am now. I've had 1 week of work this year.
I realise it's easy to say, but I always put aside most of my money for hard times. I budget on half of what I'm paid. I don't buy things I don't really need. I always try to save whenever I can. I paid off all my debts as a first priority, after food.
As I siad, easy to say, but I and I think most of us have no choice really. New clothes may seem nice, but do you really need them?
Sorry, this doesn't sound very helpful. But I've managed to survive for 20 years like this. After my experience in the health services, I decided my mental health simply couldn't take any more stress of being trapped.
When you do get a job, may I respectfully suggest you stick to the priorities, debt, savings, food.