For a woman to get pregnant, pre-ejaculate or ejaculate (also called pre-cum or cum) from a males penis must find its way into or onto the vagina.
Vaginal sex is the primary cause of pregnancy.
But, any activities that allow pre-cum or cum to make its way into or onto the vagina can also cause pregnancy.
What won’t cause pregnancy?
Touching
Kissing
Hugging
Oral sex
Masturbation
Any activities where pre-cum or cum are not near the vagina