how to stop repeating the same mistakes