30 weeks pregnant and stomach bug...

How do I eat and drink. I know ice chips. And brat diet but like how often how much and when do I start?