Erythromycin ointment is a common medication that can be used to treat glansitis, and it works better in most patients. The actual glans is a local skin mucous membrane inflammation state due to infection and irritation in the glans area, which is relatively common due to infectious factors, while non-infectious factors often lead to secondary infection after the onset. The pathogenic microorganisms that cause infections are mainly bacteria, such as gonococcus and staphylococcus. Therefore, antibiotics are often needed for related treatment. Erythromycin is a macrolide antibiotic with an antibacterial range similar to that of penicillin, and has a strong inhibitory effect on Gram-positive bacteria including staphylococci, as well as Gram-negative bacteria and mycoplasma, which are pathogenic organisms. In addition, erythromycin ointment also contains petroleum jelly, which can lubricate the irritated skin, promote skin growth, and have certain auxiliary therapeutic functions. However, if erythromycin ointment is used for a long time, it may produce a certain degree of drug resistance, so the recommended use time is generally not more than 1 week. It can be seen that the effect of erythromycin ointment in the treatment of glansitis can be affirmed. If the patient’s symptoms are not significantly reduced after treatment with erythromycin ointment, it is recommended that the patient should promptly consult a urologist and be instructed to use the medicine after an interview by a specialist.