Help! 19 and had bareback sex

I had sex with a friend of mine, he didn’t wear a condom and I took the morning after pill the next afternoon after we had.....done round 2.....but I want to be sure, is there anything I can do that would prevent a possible pregnancy. Someone said caffeine and alcohol is there anything else?