The Prime Minister has warned that amid the conflicts in Iran and Ukraine, "we have to accept that there's a war on two fronts".