What does this mean??

My boyfriend and I had sex last week. My period isn't due for another week but I got it 2 days ago but it only lasted a few hours and I haven't had anything since then?