Condoms AND pulling out??

Is it more safe? Alright so I definitely do not want to get pregnant, my boyfriend not only wears a condom but also pulls out before he ejaculates, which I always thought would make the chances of pregnancy even more slim, but recently I some people told me that it's safer to not pull out until after and I am so confused! Any thoughts on the subject, girls??