Trading in a broad range for a decade or more until earnings catch up with valuations and a new economical equilibrium is established. The economy grew quite a lot from 1966 to 1982, despite four or so recessions in the period, yet the market went nowhere.