Commonly found in men in their late fifties, this condition can rarely present in younger men as well. The patient needs a complete evaluation by a physician including physical evaluation (including examination of prostate) and blood tests. Special tests may be required in exceptional circumstances. Patients should also be evaluated for diabetes and cardiovascular issues.
The initial treatment includes counselling and medications ( PDE5 inhibitors e.g. sildenafil , tadalafil). If therapy fails, patients may need intra-cavernosal injection ( Small Injections in Penis) of drugs to induce erections.
Failure of all these therapies would then require implantation of artificial devices which could be a malleable or inflatable one. Details could be obtained from your physician.