The stock market is volatile, and there will be ups and downs in the short term. But over the long term, the stock market has always trended upwards. So if you're investing in mutual funds, you should be prepared to stay invested for at least five years, and ideally for much longer.