A balanced take on spironolactone for men, since the joke above is not far off (I work on the editorial team of an online pharmacy, general information only):
How it works: it blocks androgen receptors and weakly lowers testosterone production, so it reduces the effect of DHT on the follicle rather than lowering DHT itself.
Women: oral spironolactone is a well-established treatment for female pattern hair loss and works well for many.
Men: oral use is generally avoided. Because it acts on the whole body, side effects include breast tenderness and enlargement (gynecomastia), lower libido and erectile problems. Doctors rarely prescribe it orally for male hair loss.
Topical spironolactone (usually 1-5% in compounded formulas) is used by some men as an add-on with fewer systemic effects, but the evidence is small and mostly from minor studies.
Other cautions: it raises potassium, so it is not suitable with kidney problems or with potassium-sparing medicines and some blood pressure drugs. Blood tests are needed with oral use.
For most men, finasteride or dutasteride plus minoxidil remains the better-studied route; topical spironolactone is at best an extra.