Red, swollen and painful gums are mostly caused by gingivitis, but can also be caused by apical periodontitis, wisdom tooth pericoronitis and other causes. It can be treated by medication, root canal treatment, surgery and other measures. 1. Gingivitis: choose antibiotics and anti-inflammatory analgesic medication, commonly used antibiotics are metronidazole, ornidazole, amoxicillin, cefadroxil and other anti-infective drugs, if necessary, give ibuprofen, aspirin, and other painkillers. 2. Periapical inflammation: Periapical inflammation may also cause hot and painful gums, and may also lead to pus in the gums, in addition to cephalosporin and other medications, and at the same time, you can take measures such as root canal treatment. 3. Wisdom tooth pericoronitis: If an abscess is formed, it can be incised and drained, while actively anti-infective treatment, after the inflammation subsides, you can take measures such as tooth extraction. There may be other reasons for swollen and painful gums, you need to go to the hospital for examination, to clarify the cause of the disease, and follow the doctor’s instructions for treatment.