Will plan b work???

I had sex with my partner and he ejaculated inside me and we ended up having sex again the next day in which he did it again. I bought plan b because I'm so scared, will the pill work even though he did it twice in two days?

( I'm not on birth control and we usually use the pullout method )