burn one's fingers
burn one's fingers {v. phr.}, {informal}
To get in trouble doing something and fear to do it again; learn caution through an unpleasant experience.
He had burned his fingers in the stock market once, and didn't want to try again.
Some people can't be told; they have to burn their fingers to learn.
Categories:
Source: A Dictionary of American Idioms