The primary dysmenorrhea is seen within 2 years of onset of menstruation and stays
for 1 to 2 days of each cycle. The secondary
dysmenorrhea is due to pelvic inflammatory disease, fibroids, endometriosis (abnormality of lining of uterus), pelvic tumors, etc. You should consult gynecologist for internal examination and other test needed to detect it's cause. In your case, chances of endometriosis are high.