bleeding between periods

I took a plan b one day after ovulation a couple of weeks ago but my period was still on time and everything was fine till today. I’m spotting. can taking that be what’s causing this bleeding?