Thanks for the query.
Pain during menstruation
is called dysmenorrhea.
Secondary dysmenorrhea causes severe pain
You need to get an ultrasound to rule out secondary causes of pain during menstruation like fibroid uterus, endometriosis
You can take NSAID's for symptomatic pain relief .
Contact your Gynecologist for definitive diagnosis and treatment protocol.