Sex?!

I had this strong pain along the middle and side on my stomach while having an intercourse? What is this? Every now on then i feel small pluses of pain in the top or lower conner or stomach?