Plan b while on medication??

This could be a ridiculous question but I am just worried... So two days ago I had unprotected sex. He has always worn condoms but this time didn’t. He came inside of me which I absolutely was not expecting. About 45 minutes after we bought a plan b. However the next morning I got my wisdom teeth out which means I was taking antibiotics, I was put on anesthesia and now I’m taking Vicodin for the pain. Could any of these medications somehow affect the pill’s efficiency? Help!!