Antibiotics are necessary when a child has a confirmed bacterial infection. Common conditions that may require antibiotics include strep throat, certain types of pneumonia, and urinary tract infections. It's important to note that antibiotics are ineffective against viral infections like the common cold or influenza.