period sex 😱😱

i thought i was done with my period because there was nothing when i wiped or anything , so my boyfriend and i had sex and i got blood all over him 🤦🏼‍♀️ so embarrassing ... ever happen to anyone else ?