Stomach Virus/Flu when pregnant?

My daughter and husband both have a stomach virus/flu and I’m 4 weeks pregnant. Has anyone had a stomach virus in pregnancy, specifically early on, and had a successful pregnancy? I’m worried and taking precautions but there’s only so much I can do 😞