Help!!!!!

So I have been having bright red passage of poop for the past couple of days. My butt doesn’t hurt when I pass it. my period is coming in about 5 days, could it be cause I’m getting my period? I’m scared.