The prime minister said he is "fed up" with the impact of the Iran war on British families.