Am I Pregnant?

So this may seem dumb but I have read some stories and all kinds of things on this. Can I get pregnant even if he didnt finish during sex? And a follow up, can I get pregnant if there was precum even if he didnt finish?