A big downturn is stressful but panicking could damage your future returns