We explain the importance of thinking about how long you plan on being invested so you can avoid the risk having to sell when prices are lower than you expected.