Please answer

If your partner doesn't cum in you can you get pregnant or is the only way you can getpregnant  is if he cum?