Technically, pre-cum doesn't contain sperm but if he ejacualted recently and didn't urinate before you had sex or if he started to ejaculate before withdrawing (I'm assuming you were using the withdrawal method), there is a chance of pregnancy. Take a test.
Pround parent of PJ (4) and Kylee (2)