Can someone answer this?

Does pregnancy only happen when he comes completely inside you? Can it happen if the cum goes outside? 🤔