Can you fix a receding hairline?

Can you fix a receding hairline? Maybe.  It depends on the diagnosis and when you start treatment.     What