Ibuprofen extended-release capsules are analgesic drugs that can effectively relieve swollen gums, as well as toothache, headache and other bodily pains, so it is more effective to take ibuprofen when gums are swollen and painful to stop the feeling of gum pain for a period of time. However, ibuprofen extended-release capsules only have analgesic effect. Taking ibuprofen when the gums are swollen and painful is not a cure, because after the effect of ibuprofen has passed, the pain may come back if the cause of the swollen and painful gums is not cured. Therefore, it is recommended to find the specific cause of gum swelling and pain and then treat the symptoms, during which ibuprofen can be taken to reduce pain and suffering.