Side effects of amoxicillin for babies?

s

My 11 month old had been having diarrhea with a terrible diaper rash, he’s in pain and crying all day. He just finished recovering from a stomach virus which gave him diarrhea then he got sick with rsv and doctor prescribed antibiotics and his diarrhea is back