M.
Im not a md or anything so im not diagnosing you, but i had horrible pain during my periods accompanied by other issues. i went to see my gyn and found out that i have endometriosis. some of the cells had lined the rectum which was causing the pain during defecation. good luck
!