pregnant

if I had sex and then started my period but my boobs were hurting before I started and stopped after it started I can't be pregnant right? just making sure because I read something about still being pregnant after being on your period and I feel like my boobs would still be big and sore if I were pregnant?