Is this normal ?

My period was supposed to end today and I didn’t get any type of bleeding or anything like that in the morning. So today I had sex with my boyfriend and I notice I got blood stain on my underwear. We had protected sex and I’m not on my period anymore. This never happened before. Is this normal ?