Has anyone been sick while pregnant?

I'm 32 weeks and I'm not feeling well can being sick harm the baby? sorry if this is stupid im a ftm and haven't been sick my whole pregnancy.