Stomach bug??

Jade
My baby girl will be 4 months on the 24th and she threw up this morning at her nanas house and she's only been eating 1-2 ounces at a time then falls asleep....she will stay sleeping if you hold her but if you set her down she gets fussy and starts screaming. She usually eats 6 oz every 2.5-3 hours. Is there anything I should or could do for her I can't have her sleep with me but the longest she stays asleep is 20 minutes or so. She only threw up once no fever but cries and screams like shes in pain. I don't know what else to do to help her.