Unprotected sex...

I took plan b this past Monday after having unprotected sex on Sunday (22nd). Before that I had just gotten off my period on the 18th and now I'm spotting so for sure I know it ain't my period. Does this mean the pill was effective?