Can you get pregnant if it doesn't go all the way in?

I'm 6 weeks pp and tried to have sex for the first time yesterday. I was too scared of it hurting so he didn't get to put it all the way in. He cummed with just the 'head' inside a little bit and most of the cum went on the outside. Can u still get pregnant like that?