There are two types: Primary dysmenorrhea is common and not linked to underlying conditions. Secondary dysmenorrhea is caused by issues like endometriosis or fibroids.