You can't always prevent a layoff, but you can limit how much it affects your finances. This is the financial prep you should ...