Pain during and after sex

I had sex and during I had some pain after it got worse. It’s still pretty bad. It feels like my whole lower abdomen. What could be the cause? It wasn’t really rough