Should I be worried?

I am 16 weeks and have been having a rough pregnancy “high risk due to epilepsy”. I am not able to eat still and my drs have tried about everything. They are concerned that I am staying dehydrated and loosing to much weight. My last appointment they mentioned steroids, but didn’t say much about them... has anyone had to get them and what for? She mentioned I can be at risk for premature labor, but I’m literally trying my hardest nothing ever wants to stay down.