There are several reasons antibiotics are not sold as OTC drugs. First, many people confuse viral infections with bacterial. Antibiotics do nothing when the infection is viral. Second, there are many, many different antibiotics available. Each is used for a specific type of infection, and some don't work very well against other kinds of bacterial infections. There's a reason doctors prescribe different types of antibiotics. It all depends on the kind of infection. Last, overuse or misuse of antibiotics can lead to stronger bacteria, bacteria that is antibiotic resistant. For this reason, there has been a push to use antibiotics less. Putting antibiotics as an OTC medication would increase use and potentially create super bacteria.
Hope this is what you're looking for.