Sex right before period?

Kelsey
Is it possible to get pregnant if I had unprotected sex and the next day my period started? It was a normal period but now I'm having unexplained cramps when Glow says my next period isn't due for two weeks. I never cramp except for right before or during my period. Plus, I've been bloated for a couple days. Any help would be appreciated!