What should I do if there is a hard lump under my skin that hurts when I press on it?

There are hard lumps under the skin that hurt when pressed. Consider that it may be epidermal cysts, lipomas, multiple lipocystic tumors and other skin co-infections, or seborrheic membrane inflammation, and medication and surgical treatment can be given respectively after a clear diagnosis. 1. Epidermoid cyst: Epidermoid cyst is a kind of dermal cyst containing keratin, if infection occurs, there will be painful symptoms, you can use topical mupirocin ointment, or oral antibiotics to accelerate inflammation, and then consider surgical excision to prevent recurrence of infection. 2. Lipoma: Lipoma is a benign tumor of soft tissue, if the tumor tissue is large and presses the nearby nerves, or if the skin surface is infected, it will cause pain, and it can be removed through surgery after anti-infection treatment. 3. Multiple liposarcoma: this is a kind of common chromosomal dominant disease, mainly manifested as multiple hemispherical cystic damages, and pain will occur when combined with infection, penicillin and erythromycin can be used to control the infection, and can be surgically removed if necessary. 4. Lipomatous membrane inflammation: if the skin of both lower limbs and subcutaneous red nodules with pain, can not be excluded lipomatous membrane inflammation, need to go to the hospital in time, after a clear diagnosis of standardized treatment. Hard lumps under the skin can not be directly diagnosed when pressed, should go to the hospital for examination, according to the results of the examination and clinical symptoms of a comprehensive diagnosis, standardized treatment.