Is it my period?

I have constipation and it hurts to pee and I'm peeing frequently. When I do pee, it isn't much but beforehand it feels like I'm busting. In the past I have had bladder infections, is it the bladder infection or just my period? May sound stupid but yeah. Could it also be an Std? I have been having unprotected sex with my boyfriend.