Going to ER

I have HG and it is usually manageable with my Zofran however, I haven't been able to keep anything down for the last 24 hours. When is it time to go to the hospital? I have had a migraine all day and feel terrible but I don't want to go if there is nothing they can do.