Has anyone gotten an IV due to HG/morning sickness?

J.
I'm suffering from hypermesis gravidarum (extreme constant vomiting nausea), and the doctor said all I can do is go get an IV from the ER. I've thrown up everything I've eaten can barely drink and only pee twice a day and it's been painful and an amber color. what was your experience deciding to get an IV and did they keep you over night or for how long? Did your insurance cover it? Thank you any thoughts are needed