Flu/fever in pregnancy

BD

My husband has been really ill for the past five days with a high fever and flu like symptoms, I’ve never seen him so ill (it’s not covid though). I’ve been trying my best to keep my distance but today I’ve started coming down with symptoms. I’m 26 weeks pregnant with a high risk pregnancy and I’m so afraid getting a fever will put my baby at risk. Should I ring my doctor if my symptoms get worse?