Layoffs and career changes

What to do first after a layoff, and how to move into a new kind of work.