Pay off all debts and loans (credit cards, student loans, car leases, mortgages, etc.) and do not get more. Interest rates don't matter: eliminate all debts.
Have six months worth of your expenses in a savings account. Do not have it in investments because their worth can collapse very fast (market downturns coincide with massive amounts of layoffs).