Swollen gums can cause a lot of pain to patients, and when this happens, it is more important to pay attention to the intake of diet and the type and nature of the diet. Patients are advised to eat soft, well-digested foods, such as soft porridge, tofu, eggplant or fish, shrimp and the like, to make the food as diverse and nutritious as possible. Do not eat nuts, peanuts and other harder foods, which can only stimulate the development of inflammation. You should pay attention to eating warm, cool, thin and soft food, do not eat too cold, too hot food, try to avoid spicy, greasy food, quit smoking and limit alcohol, drink more water. However, food is not medicine and cannot solve the fundamental problem of the disease. It is recommended that patients be able to go to the hospital in time to find out the cause of the swollen and painful gums and treat the symptoms.