Dumb question but I need to know an answer

if he doesn't come in your vagina but on it can you still get pregnant?