The evaluation usually includes a medical history, a detailed sexual history, a physical examination and other basic tests. The health care provider tries first to determine if the causes are psychological or physical.