Can I get pregnant like this?

So me and someone was having sex, and there was no condom, I started to feel really wet, so I’m like why is it so wet and he’s like that you, and he pulls out and I look at his you know. And he’s like that’s pre cum. So I’m like ok maybe we should use a condom. So we used a condom. The condom didn’t rip. And then that day I was stuck in his bed laying down, for like 10 hours , ducking from the window because his family kept popping in and I don’t want to get caught lol.