Extreme pain during intercourse

Essence • 20. College student. I`m still trying to figure out how adulting works.
Has anyone ever have extreme pain when having sex a few days before their period started? 
This started happening a few months back everytime I have sex before my period I can barely walk. It feels like my uterus is twisting itself around and trying to come out.