How do you gain wisdom?

When you experience pain.