Experience!

Experience is a hard teacher, because she gives the test first, and the lesson later.