Help tummy bug but still hungry!

Iv been looking after my poorly 2year old he’s been vomiting on/off since last Friday. He seems to b ok now but only now Iv got a rotten stomach I keep getting cramps like I’m gna throw up Iv gone 24hours with nothing to eat but now hungers kicking in I’m wondering do I eat some toast and drink plain lucozade ? I’m 19.5weeks pregnant just need some energy but not sure what’s best ?