Stock-market booms always end the same way: Optimism outruns reality, then prices correct. Investing can be summed up in two words: risk tolerance.