Should I go to the hospital???

Jodeci

So I'm 31w 2d pregnant, yesterday at work i almost passed out but my co workers say me down, gave me water and food before I actually ever fainted. I felt much better and even finished my shift

Today at home this morning i threw up but I hadn't ate anything and had only drunk a bottle of water so all I threw was water. Baby Girl is still moving like usual so im wondering if I should go to the hospital or not??