I was laid off 3 times in 4 years in the early 90s. It led me to a place where I spent 25 years and retired in my 50s.
It could be the best thing to happen to you. Keep your head up.
Was laid off after 15 years with same company, it was a shock. There were some circumstances to that. They were transferring people to another state. I did not want to go, though that move was not happening for a year or so. Or at the time I indicated I was against it.
I then contracted with them working on the same project. But at least I got paid OT.
After a year I left, and started contracting (design engineering, aerospace) moving around. this was 1998. Spent 10 years with same company in DFW area 2 years, left for 2 years, returned for 8 years, then traveled around again for 4 years.
Turned out to be better for me, allowing me to retire early at almost 56.