Blindsided with a termination after 15 years; now what?

Lost job

First time posting. I’ve been a practicing attorney for almost 20 years, working at the same in-house job for 15. Was recently blindsided with a termination after being assured for several years I was part of the succession plan. I know, cry me a river, amirite?

Now I’m lost. Don’t know what I want to be when I grow up or how I go about figuring it out. Also, sad, depressed, and unmotivated at the moment.

Thoughts? Suggestions? Thanks in advance.