Strictly speaking, erythromycin ointment is not an anti-inflammatory drug, but should only be an antibiotic-based topical medication. However, because the ointment is an antibiotic that can effectively kill bacteria and thus can make the inflammation formed by skin infection subside, it indirectly acts as an anti-inflammatory. So some people also call it an anti-inflammatory drug and consider erythromycin to be an anti-inflammatory drug. But this anti-inflammatory actually occurs indirectly, not directly anti-inflammatory. This drug is generally indicated mainly for diseases that form due to infection of the soft tissues of the skin, such as folliculitis or boils, etc. If it is accompanied by purulent manifestations, it also needs to be treated with surgical incision and drainage of pus.