Ampicillin is a prescription penicillin-type antibiotic used to treat many different types of infections caused by bacteria, such as ear infections, bladder infections, pneumonia, gonorrhea, and E. coli or salmonella infection. Learn about side effects, drug interactions, dosages, warnings, and...