Dysmenorrhea refers to painful periods and is categorized into two types: primary and secondary. Primary dysmenorrhea is common and usually starts soon after a woman begins menstruating. Secondary dysmenorrhea is due to reproductive system disorders like endometriosis or fibroids.