Pain when having sex

I have never had pain while having sex and the other night I couldn’t feel any pleaser besides the first 2 minutes. Is this normal? It was almost unbearable.