Finasteride is used to treat male pattern baldness and benign prostatic hyperplasia by inhibiting the conversion of testosterone to dihydrotestosterone (DHT). Although effective, it can cause erectile dysfunction due to hormonal changes. This is considered rare and often reversible upon discontinuation. Some individuals might experience persistent dysfunction, known as post-finasteride syndrome (PFS). It's critical to consult healthcare providers for dosages or alternatives and lifestyle changes can mitigate risks. Always seek professional advice before changing medication.