I often think about three elements: name what happened, take responsibility, state what you would do differently the next time.
A menudo pienso en tres elementos: nombra qué paso, admite tu responsabilidad, di qué es lo que harás de forma diferente la próxima vez.