A healthcare provider will take a medical history and ask about episodes of vaginismus. A pelvic exam will be done, too. During it, the provider will try to gently insert a finger or fingers into the vagina to see if this causes a painful spasm of vaginal muscles and tightened leg muscles.