La estaba acusando injustamente, y cuando me di cuenta de mi error, me disculpé.I was unfairly accusing her, and when I realized my mistake, I apologized.
Fue al leer el texto por segunda vez, cuando me di cuenta de la errata y la corregí.It was when reading the text for the second time that I noticed the typo and corrected it.