pre period pain

idk how to explain it but let's say that days before my period I start feeling a lot of pain in the uterus section of my body, (it is wrong if I say this way????) well and when I've masturbated in these days the pain was unbearable even I couldnt get up from bed for like 15 minutes and I couldnt stop crying because of this pain. Has this happened to any of you? should I go to the doctor?