Out of the frying pan into the fire
sair da friʒideɪɾæ paɾæ kair nʊ foɡʊ
In Portuguese Sair da frigideira para cair no fogo
This is a direct translation, emphasizing the worsening of a situation.
Example
"Ele saiu da frigideira para cair no fogo ao mudar de emprego."