Help?

Alright so say you have sex (with a condom and on the pill) toward the end of your period and he cums on your stomach instead of inside of you. If some of the cum gets kinda close to your vagina, but you use the bathroom right after and then put a tampon in, can you get pregnant?