Is it dangerous

I am 25 weeks and currently super super sick with a bad cold 😭 idk how to kick it naturally so I have been taking hot baths to try to steam it out a bit. I was trying to stay hydrated but I just realized maybe it’s bad for the baby?? Is my baby gonna be okay?