Bleeding at the end of ovulation??

I had unprotected sex with my boyfriend my first day ovulating and took a plan b but the last day of ovulating i was bleeding/spotting?? This has never happened to me before so i’m not really sure what’s going on