Pain after sex

I had sex with my partner last Sunday and got the most awful pain in my lower abdomen (it felt like trapped wind) and the pain was also in my bum, I’ve just done it again and the same pain happened. Any advice on what this could possibly be ?