Viral and bacterial infections exhibit several similar symptoms. Therefore, it can be difficult to tell the cause through the symptoms alone. But generally speaking, in viral infection the child does not look to be sick and temp is also low grade while in bacterial infection the child looks sick and toxic with high grade fever. You should take your baby to a pediatrician for the right diagnosis. Blood and urine tests can help determine the exact pathogen that has caused the infection.