To learn a lesson from experience; to be taught by a mistake or bad experience and avoid repeating it.
彼は一度失敗して懲りたらしい。
It seems he learned his lesson after failing once.
遅刻して怒られてからは、彼も懲りて時間に来るようになった。
After being scolded for being late, he learned and started arriving on time.
ギャンブルで大負けして懲りた人もいる。
Some people learn their lesson after losing big in gambling.
To be discouraged or put off by something; to have had enough or be disgusted with something.
あの店の対応に懲りて、もう行かないことにした。
I was put off by the way that store treated me, so I decided not to go back.
彼は何度も裏切られて人を信じるのに懲りてしまった。
He was betrayed so many times that he became discouraged from trusting people.
あんな苦労は懲りごめだ。
I've had enough of that kind of hardship.