Stomach pain during menstruation needs to be treated according to the cause, and common causes include primary dysmenorrhea and secondary dysmenorrhea. Primary dysmenorrhea can be relieved through psychological treatment, general treatment, medication, etc. Secondary dysmenorrhea needs to be treated according to the specific cause of the disease, and the treatment includes medication, intrauterine device, surgical treatment and so on. 1. Primary dysmenorrhea: (1) Psychological treatment: mainly help patients eliminate anxious mental state during menstruation, which can relieve mild dysmenorrhea. (2) General treatment: During menstruation, you can also relieve dysmenorrhea by paying more attention to rest, applying hot compresses on the abdomen, and drinking more brown sugar water. (3) Medication: If the dysmenorrhea is more serious, you can take ibuprofen capsules, diclofenac sodium and other analgesic drugs to relieve the pain as prescribed by the doctor. 2. Secondary dysmenorrhea: (1) medication: for endometriosis, adenomyosis, uterine developmental abnormalities and other dysmenorrhea mild patients, you can take progesterone drugs (progesterone, dydrogesterone tablets), oral contraceptives and other methods to relieve pain. (2) Intrauterine device (IUD): Young women with severe dysmenorrhea with endometriosis or adenomyosis can choose IUD treatment, which can relieve secondary dysmenorrhea. (3) Surgery: Conservative treatment is ineffective, and those with severe uterine abnormalities need to be treated by surgery. If you have stomach pain during menstruation, you need to go to the hospital in time for examination, and follow the doctor’s instructions after clarifying the cause of the pain.