Sore throat before delivery

I’ve had a sore throat for a few weeks now. My child has also had a runny nose. I’m scheduled for an induction next week and I’m worried it won’t be gone by then. Can you give your newborn baby a bug? I’m so worried!