Stomach Pain

So the doctor said I apparently have the stomach virus. But it feels so much worse than a virus and my mom suggests that it's just stomach cramps or gas. Does anyone know what to eat and take for stomach pains? I'm not sure what exactly it is but I'm just going to what the doctor said. She didn't tell me what medicine I could take for it or what to eat. She just said stay away from fried and greasy foods as well as milk.