Taking antibiotics for reasons other than a bacterial infection can cause problems. For example, your child may have side effects from the medicine. And resistant bacteria can be made, which means future infections can be harder to treat.