Plan b?

My bf and I used a condom, then I think the condom unrolled. I took a plan b. I spotted then had super heavy period 5 days after taking it.

It’s been 2 1/2 weeks since I took the plan b and I took a test this morning. It was negative, am I safe?