period before my period ?

okay so i had sex with my boyfriend yesterday (my second time ever having sex) i was fine until in the night after i did some stuff my inside of my vagina like almost where i'd get cramps was hurting like hell. i thought it was because he was just stretching my insides out or something. then later i go to the bathroom and my underwear is covered in blood (my period comes in 5 days) so i just thought it's because he broke my walls. so moving onto this morning i woke up to blood on my bed and i needed to throw away my underwear. i don't know if it's my period early or if it's just his dick made me bleed a lot. can someone tell me what's wrong with me?