Because pregnancy is a special period, when swollen and painful gums occur, it is recommended to go to the hospital for an examination first and then take the appropriate treatment plan according to medical advice. In general, it is not recommended to take medication when pregnant women have swollen and painful gums, because medication can have certain effects on the fetus. It is recommended to adjust the diet reasonably in daily life and eat more foods rich in protein and vitamins, such as soy products, fresh fruits and vegetables. Because these foods are good for reducing the permeability of capillaries of pregnant women, and they can not only relieve the symptoms of swollen and painful gums, but also have certain benefits for the development of fetal teeth and bones. Moreover, pregnant women should pay attention to keep their mouth clean, and it is recommended to rinse the mouth after meals and brush the teeth in the morning and evening to get rid of the residual food in the mouth in time, which can effectively relieve the phenomenon of swollen and painful gums. Choose a soft-bristled toothbrush for brushing to avoid causing damage to the gums. When the gums are swollen and painful, salt water rinse and cold compress can be used to effectively relieve the redness and pain. Salt water gargle can effectively destroy the bacteria and viruses in the mouth, and cold compresses can relieve the pain, and it is recommended that cold compresses be applied three to four times a day for 15 minutes each time. In conclusion, it is not recommended to take medication for gum swelling and pain in pregnant women, and it is recommended to relieve it by means of home life care.