Pregnant women have been urged to get vaccinated against covid and the flu.