Can you get pregnant from precum?

I've read both that you can get pregnant from precum, and that you can't get pregnant from precum. Which is it? 
My boyfriend and I had sex twice and pulled out both times, I started worrying about the precum so now we use condoms.