Can you take painkillers for menstrual pain in the stomach?

It is possible to take painkillers for menstrual pain, commonly used painkillers are fenbid, ibuprofen, etc. However, after taking painkillers, you must wait until your period has come and then go to the hospital for a gynecological ultrasound to rule out any lesions in the female pelvis and uterus. If there is no lesion and it is primary dysmenorrhea, it is okay to take painkillers for this kind of dysmenorrhea. If the ultrasound reveals adenomyosis or endometriosis, the painkillers alone cannot completely improve the symptoms and it is necessary to take large doses of progestin drugs to treat this disease under the guidance of a doctor.