Viral infection in baby

Tia

My 4 month old has a virus and the doctor advised us to let it run its course and treat the symptoms. We've been using baby tylenol for the fever but she's also got diarrhea and it's obvious she's having some stomach pain. Is there anything I can do for diarrhea and stomach pain? Or even just the pain she's so small it's killing me to watch her writhe and groan. Would gripe water help possibly? Idk if this info helps but she's strictly breastfed.