Curious?

My boyfriend and I had sex he came on my butt. My question is in order to get pregnant he has to come inside me correct? Or can sperm swim it’s way inside me?