Help !

I didn't really eat for 5 days and I can't keep liquids down.. i am vomiting almost the whole day. Mostly stomach acid because I don't have anything in my stomach.. i am 7 weeks pregnant and don't know what to do.. is the emergency room appropriate for this situation?