How effective

I had unprotected sex and he came in me i took plan b 12 hours later. I just got done ovulating 6 days ago. How effective is the pill?