TMI Question

Does anyone else get diarrhea when they’re on their period? Why does this happen? Literally it happens right when I’m going to start and then sometimes as long as my period lasts. Is there a reason?