Leave pessimism behind, rise again, and learn from your mistakes.