Gum swelling and pain may be caused by gingivitis, periodontal abscess and other diseases, you can use ibuprofen and other pain relief, but need to pay attention to the treatment of the original disease at the same time. Gingivitis, periodontal abscess and other diseases caused by swollen gums, you can use ibuprofen and other non-steroidal anti-inflammatory analgesic drugs for treatment. However, if vomiting, abdominal pain, bleeding from peptic ulcers, elevated aminotransferases, skin rashes, and other adverse reactions occur after use of the medication, it is necessary to stop the medication and seek medical attention. The drug is contraindicated in cases of suspected or confirmed bleeding from ulcers of the digestive system, pregnant women, lactating women, drug allergy. On the basis of pain relief, it is also necessary to treat the original disease and treatment. For gingivitis can take chlorhexidine and other antibacterial rinses such as gargling to intervene in a timely manner for periodontal treatment; for periodontal abscess can take chlorhexidine and other antibacterial rinses such as gargling, the use of metronidazole and other drugs such as anti-infective treatment and other measures to intervene in the necessary surgical intervention and periodontal treatment. Gingival swelling and pain are recommended to go to the hospital in time; the above drugs need to be used under the guidance of clinicians.