Scared

So basically my boyfriend came in me 2nights ago, we spent the weekend together and had sex alot but pulled out except that one time cause he was drunk. My stomach hurts like crazy now and I was 7% fertile for pregnancy ... what do youguys think? should I get a pill ?