Gum swelling and pain may be gingivitis, apical periodontitis, wisdom tooth pericoronitis and other diseases, the patient can choose according to the cause of the drug treatment, surgical treatment, so as to play an effective role in relieving the symptoms of the disease. 1. Gingivitis: swollen and painful gums are considered to be caused by gingivitis. Patients can use local medication under the guidance of the doctor, such as hydrogen peroxide solution, chlorhexidine and other local rinsing. Some patients can also take gingivectomy, gingivoplasty and so on. 2. Periapical periodontitis: swollen and painful gums are also considered to be caused by periapical periodontitis. Patients can take root canal treatment, extraction surgery, so as to alleviate the symptoms of pain. 3. Wisdom tooth pericoronitis: Gum swelling and pain may also be caused by wisdom tooth pericoronitis. Patients can take oral antibiotics under the guidance of the doctor, such as doxycycline, amoxicillin, cefuroxime and so on. Or oral ibuprofen, aspirin and other non-steroidal anti-inflammatory drugs. Or take abscess incision and drainage, wisdom tooth extraction, etc. There are many causes of swollen and painful gums, it is recommended that patients go to the regular hospital, clear the cause of the disease and then actively take treatment measures.