Do I need plan B?

As

On holiday with bf and we drank so not as wise as normal, basically I'm not on the pill because of side effects, so we use condoms, half way through we decided to pull out instead, went fine but could I get pregnant from precum? I'm on the last day of my period don't know if that's more risky or less risky. Will probably get plan b to be safe but need some reassurance! ❤️