Vaginismus is a condition where the pelvic floor muscles spasm and cause the vagina to involuntarily tighten which prevents a penis from entering. This can be caused by repeated yeast infections, urinary tract infections or mental challenges like fear of sex, pregnancy or trauma from sexual abuse.