someone help

if the head of a guys dick doesn’t go inside of you and cum can you get pregnant? like only his shaft touched your vagina?