First time pain while having sex.

Patient: A few days ago while having sex it hurt really bad but I never had this pain while having sex before. It felt like someone was twisting my stomach or poking me with something. The pain became worse the longer we had sex and the deeper he went. The pain was in my stomach and deep inside my vaginal walls. What could be the cause of this sudden pain?