Plan B

So a week ago my partner and I were in the moment and he ejaculated inside me.. the next afternoon I took the Plan B pill and now I have this weird brown discharge.. My period starts in a week.. can anybody tell me what's going on..