learn your lesson
US /lɜrn jʊər ˈlɛsən/
UK /lɜrn jʊər ˈlɛsən/

1.
retenir la leçon, apprendre de ses erreurs
to suffer a bad experience and understand from it not to do the same thing again
:
•
After losing all his money, he finally learned his lesson about gambling.
Après avoir perdu tout son argent, il a finalement retenu la leçon sur le jeu.
•
If you don't study, you'll fail the exam and learn your lesson the hard way.
Si tu n'étudies pas, tu rateras l'examen et tu retiendras la leçon à tes dépens.