Masturbation pain

so i masturbated and then after i started getting really sharp pain in my vagina and now they won't stop and my whole uterus/ pelvic area hurts when i walk or stand up. I'm very scared. i'm 36 weeks