Should I go get fluids from the E.R?

So I’m 5 weeks and a few days and I am throwing up but still able to keep down water but no food, I know it’s supper important for the baby to have food so I wonder if I should go in and get something to help me stop puking or do you think everything will be fine?