Apply hydrocortisone cream, Neosporin ointment, or petroleum jelly over the burned areas. You can also apply calamine lotion and wash it off after 2 hours. Upon washing the area, avoid using any soaps. They could aggravate existing irritations. That being said, situations like this can be avoided in the first place. Don't use any kind of chemical treatment on your body unless you've talked to a doctor first. And never rub anything into your skin after using a razor. In addition, Nair products can irritate sensitive areas like the nose and ears. To avoid irritation, use a non-chemical-based method.