Sick bug

I've been up all night being sick and again this morning, I'm having trouble keeping liquid down and foods down as they are just coming back up, I'm 18 wks pregnant and I'm worried cause I'm straining my stomach so must I might be hurting the baby and I'm also worried that something will happen because of me not eating