Finasteride is commonly prescribed to treat male pattern baldness (androgenetic alopecia) and benign prostatic hyperplasia (BPH), which is an enlarged prostate. It helps reduce hair loss and promotes hair regrowth in men, while also alleviating urinary symptoms associated with an enlarged prostate.