learned his lesson

When someone says they learned his or her lesson, it means this person has learned from past mistakes. To learn from your lesson, you would think it means to learn after being taught something, but the cliche is most commonly used in reference to someone who has made mistakes whether they did it once or many times, and thus learned from lessons but not until they made the mistake themselves.