The manner in which you are laid off directly impacts your perception of your value. The more disorganized a company is, the worse the self esteem is of employees. Give yourself some time to grieve, find someone to talk to profession professional colleague, friend, family, coach, therapist. And last thing is to really think about the value that you bring to the table and structure a narrative going forward that is based on that value.