Does pulling out work????

I’ve just had sex with my boyfriend and he said he was gonna pull out he did but idk if he did correctly or in time I saw him cum on my stomach but I’m still scared that I might be pregnant 🤰🏽😱