Stomach virus when pregnant

Jana
I'm so miserable right now.  Anyone else been through a stomach virus when pregnant?  I talked with my doctors office and they said the baby has a good reserve to pull from so let everything come out and don't eat until my appetite comes back will help with both vommiting and diarrhea to eventually stop.  Told me to stay well hydrated.  I'm drinking lots of water and sucking on ice chips but the vomiting and diarrhea are going on 12 hours already.  😩. Anyone have anything they did that has helped get through this?