Hair loss is very largely genetic and steroids mostly just accelerate it (i.e. you mostly lose hair that you were going to lose anyway, just sooner). What the hair drugs do is grow back hair loss that is not genetic, like if you are losing hair due to environmental factors (stress, diet, etc.).
Hope this helps