If due to spasm of the muscles then pelvic floor therapy, treatment of other sources of pain and medications maybenefit.
If anatomical then stretching with dilators and possible surgery. If history of abuse counseling
and pelvic floor therapy may be in order. If postmenopausal
may help as well.