Other examples include terfenadine (Seldane, Seldane-D), astemizole (Hismanal), cisapride (Propulsid, withdrawn in many countries for prolonging the QT time) and pimozide (Orap). Theophylline, which is used mostly in asthma, is also contraindicated. Erythromycin and doxycycline can have a synergistic effect when combined and kill bacteria (E. coli) with a higher potency than the sum of the two drugs together. This synergistic relationship is only temporary. After approximately 72 hours, the relationship shifts to become antagonistic, whereby a 50/50 combination of the two drugs kills less bacteria than if the two drugs were administered separately.It may alter the effectiveness of combined oral contraceptive pills because of its effect on the gut flora. A review found that when erythromycin was given with certain oral contraceptives, there was an increase in the maximum serum concentrations and AUC of estradiol and dienogest.Erythromycin is an inhibitor of the cytochrome P450 system, which means it can have a rapid effect on levels of other drugs metabolised by this system, e.g., warfarin. Pharmacology
Mechanism of action
Erythromycin displays bacteriostatic activity or inhibits growth of bacteria, especially at higher concentrations. By binding to the 50s subunit of the bacterial  rRNA complex, protein synthesis and subsequent structure and function processes critical for life or replication are inhibited. Erythromycin interferes with aminoacyl translocation, preventing the transfer of the tRNA bound at the A site of the rRNA complex to the P site of the rRNA complex.
The following represents MIC susceptibility data for a few medically significant bacteria:
Haemophilus influenzae: 0.015 to 256 μg/ml
Staphylococcus aureus: 0.023 to 1024 μg/ml
Streptococcus pyogenes: 0.004 to 256 μg/ml
Corynebacterium minutissimum: 0.015 to 64 μg/mlIt may be useful in treating gastroparesis due to this promotility effect. It has been shown to improve feeding intolerances in those who are critically ill. Intravenous erythromycin may also be used in endoscopy to help clear stomach contents. Available forms
Erythromycin is available in enteric-coated tablets, slow-release capsules, oral suspensions, ophthalmic solutions, ointments, gels, enteric-coated capsules, non enteric-coated tablets, non enteric-coated capsules, and injections. The following erythromycin combinations are available for oral dosage:
erythromycin base (capsules, tablets)
erythromycin estolate (capsules, oral suspension, tablets),  contraindicated during pregnancy
erythromycin ethylsuccinate (oral suspension, tablets)
erythromycin stearate (oral suspension, tablets)For injection, the available combinations are:
erythromycin gluceptate
erythromycin lactobionateFor ophthalmic use:

erythromycin base (ointment)

Adverse effects
Gastrointestinal disturbances, such as diarrhea, nausea, abdominal pain, and vomiting, are very common because erythromycin is a motilin agonist. Because of this, erythromycin tends not to be prescribed as a first-line drug. More serious side effects include arrhythmia with prolonged QT intervals, including torsades de pointes, and reversible deafness. Allergic reactions range from urticaria to anaphylaxis. Cholestasis, Stevens–Johnson syndrome, and toxic epidermal necrolysis are some other rare side effects that may occur. Studies have shown evidence both for and against the association of pyloric stenosis and exposure to erythromycin prenatally and postnatally. Exposure to erythromycin (especially long courses at antimicrobial doses, and also through breastfeeding) has been linked to an increased probability of pyloric stenosis in young infants.