Before investing, set aside a few months of expenses in cash. Investments can fall right when you need the money.
Keep that cushion somewhere you can reach in a day or two, like a savings account at your bank.
Once your cushion is set, invest money you will not need for several years.