Topical steroids, in conjunction with salicylic acid, may be helpful in treating scalp eczema. If the scalp eczema is infected, oral antibiotics may be prescribed by a doctor.