How to invest when stock prices are high