How long has it been occuring? Is it a recent problem? Any current stressul event or physical ailment? There are many causes for erectile dysfunction, and it's difficult to pinpoint the exact issue without a thorough diagnosis. erectile dysfunction can be physiological in nature, or pyschological, and oftentimes a combination of both. Treatment can range from PDE5 inhibitors (e.g. Viagra) to home remedies and lifestyle changes for milder cases.