What does it mean to have anal pain during your period?

Endometriosis. This could be a sign of endometriosis. I would be evaluated by a physician, review all your symptoms related to your menstrual cycle.