Cramping after sex

My period ended a few days ago and I've had unprotected sex 2 days in a row. After sex I felt mild cramping and it's still the same today. Any ideas why... He went deep in me during sex and it was a little painful at times so I thought maybe that could be why?? Any thoughts