?? Confused

Kendall
The day before my cycle, I had sex, and I got sperm in my vagina, then I got my period and it ended early. Anybody had this happen? Help?