It's always important to consider your time horizon — exposure to stock markets is generally not advisable if you are planning to use the money within a few months or even a couple of years.