Owwww!!!

I just had sex with my husband and it hurt so damn bad! Like he didn't get off bc i hurt to bad! When i sat up on him i instantly fell back on to his chest crying!!!! It took my breath away. Now i can barely walk. It hurts to move. I feel the pain all the way up in my ribs. Can someone help?? What is happening?!?!