Plan B

So my boyfriend and I had unprotected sex on Friday. Then on Saturday we had another unprotected sex. However, right after that, I took plan b pill. But I don't know is it going to work or not because we had two times unprotected sex...