That helped lead to the recent market pullback, but often the best time to buy stocks is when there is a lot of uncertainty.