Plan b

My fiancé and I had an accident with a condom.

I took a plan b a little after 24 hours.

Just realized it was the week I was ovulating.

Does plan b work when you are ovulating ?