pains while having sex

I'm 26 weeks pregnant and I was having sec with my boyfriend while I was on top I had a very strong pain in my left side is this normal? It was so strong we had to stop. 😕😕 I could hardly move from the pain I was having.