What was that pain?!!!

So me and my partner were about to have sex and soon as he put his penis inside the pain was really bad! It hurt like my cervix and shooting pains right inside my lower abdomen!!! I have never felt anything like this before 😔 don't know if it makes any difference but AF due in 3 days! Xx