Sick and pregnant

Cierra
I'm 18 weeks pregnant and I have a really bad sinus infection will it hurt my baby? I dont have a fever just coughing up nasty stuff and my nose is stuffed up or runny