To support what others have said: even precum can get you pregnant.
It's not that "pull out is a tad unreliable" - it is horrible and the failure quota is ridiculously high. And that's only pregnancy, not even considering the whole disease fun you're signing up for. With a bit of bad luck that's a lifetime of annoying medication, no a few weeks.
This means from my point of fire in order of urgency:
A) First of all: stranger, feel loved 🤗 I find it awesome that you have he courage to ask this question!
B) get plan B. It'll suck if you're reacting but that's only a week or two.
C) Review your sexual habits: if you're into spontaneous drunk sex figure out a reliable protection that you don't have to think too much about. If it's with strangers there's no way around a condom in addition if you don't want to take something for your hepathitis or HIV for the rest of your life. If it's people you know and trust then something "just" against pregnancy is enough. If it's a mix of both I suggest getting a baseline protection that you don't have to think about in the heat of the moment and condoms as preventative plan B for the cases where you're not too sure.
It sounds like a cliche but it's true: The more the dude resists protection the more you'll need it. After all it will be you who'll be alone with the consequences. You're worth more than a few fun moments for some dick!