謝らなければ

if [someone] doesn't apologize

→ 謝る
謝ら apologize, say sorry + なけれ Negative conditional + ば Conditional (“if”)
verb · informal Rare #43,138
if [someone] doesn't apologize Often followed by ならない or いけない to express an obligation: 謝らなければならない means “must apologize.”
JA: 謝らなければ、誤解されたままだ。
EN: If I don't apologize, the misunderstanding will remain.
Conjugation of 謝る
Conditional
謝らなければ謝れば

私は彼女に謝らなければならない。

I have to apologize to her.

「また謝らなければなりません」と私は言った。

“I have to apologize again,” I said.

どうしてそんなことで謝らなければいけないの?

Why do you have to apologize for something like that?

悪いことをしたらすぐに謝らなければなりません。

If you do something wrong, you must apologize immediately.