Erythromycin ointment can usually be applied to nose pimples to help reduce inflammation and fight infection. Erythromycin ointment is an antibiotic and can be used to prevent infection. If symptoms are not relieved, you should seek medical attention to identify the cause and treat it accordingly.