Reading the accident reports where pilots panic and make fatal mistakes is helpful. But—the most helpful thing to do—for me, anyway—to ward off panic and build flying confidence is train, train, train. Drill, baby, drill. Flashcards and chair-flying and flying are my friends.