Confused

So im late on my period and my boobs been sore and hurting alot like really tender and sensitive but Me and my boyfriend just had sex and they dont hurt as bad nor is sore as much . what does this mean ? Lol