Pelvic pain/bleeding from plan B???

I took a plan b about 6 days ago. It was 2 days before ovulation. 2 days ago I started getting dull pelvic pain. Yesterday and today I had a dull pelvic pain on my right side. I got scared and went to the doctor to rule out appendicitis or a uti. It was neither. Now today I started bleeding brown blood. Could this all be from the plan b?? I’ve never experienced this last time I took it.