FOMO can lead investors to do some very dumb things with their money. Here's what you need to know to stay the course.