あらためれば
kuiaratamereba

Ichidan Verb

The "-eba" conditional form ("if/when…") of 悔い改める

1. If one repents; If one regrets and reforms

Ba Conditional