Has anyone gotten covid while pregnant?? My husband just tested positive and both our kids are sick and now I am so paranoid

If you had it was everything okay with you and your pregnancy?? I’m only 30 weeks and have a c section scheduled at 36-37 weeks. I’m so worried if I end up catching this if this could cause any harm to the baby or cause preterm labor