The medication known as Viagra, commonly referred to as the little copyright , has significantly impacted treatment erectile dysfunction . Initially , researched for heart conditions , its unexpected effect on men's sexual function prompted its widespread use in helping erectile dysfunction . Thi