Taking antibiotics for reasons other than a bacterial infection can cause problems. For example, your child may have side effects from the medicine.