Can having the stomach bug hurt the baby while being pregnant??

I have the stomach bug and I can’t keep anything down. I have no appetite and I was drinking water but instantly puked it up. I also have other symptoms of the bug i’m sure you all can guess what those are..

I am 13w+1 day and i’m worried that it could hurt my baby.