Not a recruiter, but have had experience on both sides of the table in good and bad economies.
First things first, take a deep breath and realize it will all work out one way or another. The worst thing you can do right now is lock up, so put together a plan and just put one foot in front of the other.
Right now, start talking to everyone you can, leverage your personal network and hit up everyone you can to see if they have open gigs. That guy that you worked with 10 years back, hit them up. Ask them if they know anyone who is hiring and if they can intro you to them. The person you met at a conference last year, hit them up too.
If you are getting laid off, just think of your new job as finding something new, gaining new skills to be more marketable and connecting with as many people as you can.
As someone who is looking at the moment, straight up, it isn’t a great time to be looking for something new, but you will find something eventually, even if it’s just a placeholder until the market comes back around.