Safe sex?

So me and my bf had sex but now I’m worried

He didn’t use a condom when he was trying to put it in at first but did use one before he actually made it all the way through should I be worried about pregnancy ?