The right approach depends on the pattern, progression, and your personal situation. Minoxidil may support hair growth in some people and help slow further thinning. It must be used consistently to maintain the effect.
For men, a doctor may also discuss medication that reduces the effect of DHT. These medicines are not suitable for everyone and may have side effects. Food supplements do not treat the hereditary cause, but they may support normal hair condition when relevant nutrients are insufficient.
If in doubt, first have it assessed whether it is actually androgenetic alopecia.