Pain after Sex

Sometimes after me and my SO have sex my lower stomach hurts extremely bad. It kinda feels like period cramps but 10x worse. What could cause this and why???