i’m freaking out ab being pregnant

my boyfriend and i had sex on my period and i took a sugar pill that day and my period lasted four days but after we did it it kind of stopped? i read online that that can happen and it’s common. and a few days ago my bf and i had sex but i’m on the pill and we used a condom both times and right now i’m cramping but i don’t get my period until 16 more days and i’m freaking out. am i pregnant?? i’ve felt this way before and wasn’t pregnant but that was a week before my period.