I wouldn't recommend how I do it. I beat myself with it for years and years and years, and passively let it affect my self esteem and relationships, before very slowly hiking my way out of the hole I've dug for myself.

As I said, I wouldn't recommend that. I now try to just make sure it doesn't happen again, and suck all the learning I can from it, so it's not a totally wasted experience. Some lessons are harder to learn than others.