I've been redundant and I've been fired. Both were steps onwards and upwards.
Stay civilised, polite, composed, no matter how you're feeling. Recommendations, references, your network - these will all benefit.
You have rights. Find out what they are. Union, ACAS, employment law experts may advise.
Take everything you can get out of them.
See this as an exciting new step, new stage, reinvention.
Let yourself process how you're feeling about it - it may include a grieving process.
Then repackage and polish yourself up and network network network.
Most roles of note are filled not by answering job ads but via your network. Not people you know - people who know YOU.
Give your CV a massive overhaul. A personal skills audit; what you achieved, are proud of, delivered.
Polish up your LinkedIn profile - it's massively important.
Beware age bias. I chopped a decade off the bottom of mine - felt very weird but you soon get used to it.
Join the conversation on LinkedIn - Connect, connect, connect, with the people you need to notice you.
Talk about what you do, believe, are, deliver. Share wisdom, advice, provocations.
All the best. Yes, it's tough out here. But there are ways of mastering it.