once bitten, twice shy

Once bitten, twice shy is another way to say that something you have gone through such as an unpleasant experience will cause you to be much more careful in the future in order to avoid a similar experience. This is another way of saying that you have learned from your mistakes when the mistake you made led to very unfortunate consequences. It can also be in reference to a type of person you hope to avoid in the future.