Bad teeth caused by swollen and painful gums, can take drugs, periodontal surgery and root canal treatment. 1. Taking medication: patients with swollen and painful gums will usually follow the doctor’s instructions to use antibiotics and anti-inflammatory drugs to relieve the treatment, such as amoxicillin, metronidazole tablets, etc., which can significantly improve the patient’s symptoms of swollen and painful gums. 2. Periodontal treatment: If periodontitis is more serious, systematic periodontal treatment is needed, including scaling, scraping and root planing, etc., to remove periodontal irritants, such as calculus, plaque and so on. 3. Root canal treatment: If the patient’s gums are swollen and painful due to apical periodontitis, medication usually does not have a significant effect. Therefore, root canal treatment is needed for the affected tooth. To summarize, it is recommended that patients go to the hospital in time, understand the condition, and then choose the correct way of treatment.