Plan B and period.. Help!!!

Ka
So on Wednesday night I had unprotected sex and he bought plan B and I took it that night and I had a little bit of spotting and a lot pain with the plan b. On Friday I took my first sugar pill to start my period and last night I had very light spotting and this morning had a lot of dark brown on my liner. What's going on?! Help!