The pill and pulling out

I'm on the pill and had sex 2 nights ago. We didn't use a condom and he didn't pull out. How effective is the pill? I'd rather not take the plan b pill because I took it a few months ago. Should I just take the plan b?