Should I take the pill?

I had sex with my ex without a condom and we had one session he came on my butt and then we got horny again like 10 min after and he had cleaned up with a shirt and put some gel on his thing and we started again. Should I take the pill?