Plan B pill

My boyfriend and I had unprotected sex and he came in me so we bought a Plan B pill, I took the pill within 3 hours. That same day we had sex again and he came in me again. Will the pill that I took already still work or should I take another one?