Sudden market downturns can be unsettling. Sticking with your plan helps put you in the best position to capture a recovery.