The following medications may be prescribed by your doctor for the treatment of E.D. It is important that you know you may need to try several medications you find one that works for you. If medication does not help your problem with E.D., remember all hope is not lost. Testosterone therapy (TRT) may be used to treat your levels of testosterone. There is only one way to find out if your levels are low, get a testosterone level test.