Sex. HELP.

So I had sex with my boyfriend & I was riding him. He cummed inside of me, but the cum came out. Is there any chance that some of it went up, should I drink a morning after pill?