If you think you have ED, a good first step is to talk with your doctor. The treatment you need – ranging from lifestyle changes to medication to surgery - will depend on what’s causing it.