It is used to treat erectile dysfunction (male impotence). It helps to achieve penile erection sufficient for sexual activity to occur. It does this by allowing a greater blood flow into the penis when a man taking the medication is sexually aroused.