Selecting the appropriate antibiotic depends on factors such as the suspected or confirmed causative organism, the site of infection, patient age, weight, and allergy history. First-line treatments usually involve narrow-spectrum antibiotics, while broad-spectrum antibiotics are reserved for more severe or resistant infections.