whatever you have to do
Vendo a maleta, faz o que tiver que fazer.
Seeing the briefcase, he does what he has to do.
— Trem-Bala (2022)
Do whatever you have to do.
Você vai fazer o que tiver que fazer.
You'll do whatever you have to do.
Maria fará o que tiver que fazer.
Maria will do what she has to do.