やらなければ

if (someone) doesn't do, have to do, must do (with ならない or いけない)

→ 遣る
やら conditional form + なけれ Negative conditional + ば conditional
verb · informal Rare #24,868
if (someone) doesn't do Often followed by いけない or ならない to express that someone has to do something.
JA: これを今日やらなければ、明日困る。
EN: If I don't do this today, I'll be in trouble tomorrow.
Conjugation of 遣る

お前がやらなければ 俺がお前を殺す

If you don't do it, I'll kill you.

— 預言者 (2009)

これからは、自分のことは自分でやらなければいけませんよ。

From now on, you’ll have to take care of things yourself.

彼は、もっと一生懸命やらなければ失敗するだろう。

If he doesn’t work harder, he’ll fail.

一生懸命やらなければ進歩はない。

There can be no progress without working hard.

verb Rare #40,434
have to do, must do (with ならない or いけない) Commonly used in the construction やらなければならない/いけない to express obligation.
JA: 宿題をやらなければならない。
EN: I have to do my homework.
if (someone) doesn't do Also used to introduce a condition.
JA: みんながやらなければ、試合に負けるかもしれない。
EN: If nobody does it, we might lose the game.
Conjugation of やる
Conditional
やれやらなければ

でも他にやらなければ ならなかったことは?

But what else did you have to do?

— 善き人のためのソナタ (2006)

月曜日までにやらなければいけないことのリストです。

Here's a list of things that need to be done by Monday.

みんなが上手にやらなければ試合に負けるかもしれない。

If everyone doesn’t play well, we might lose the game.