Thank you for the question.
It is difficult to answer this question without knowing the underlying diagnosis of hair loss.
There are many causes of hair loss. The commonest causes include androgenetic alopecia (male or female pattern hair loss) and telogen effluvium. These conditions are not treated with steroid prescriptions.
Alopecia areata is another cause of hair fall. This usually presents with coin-shaped patches of hair loss. This is often treated with intra-lesional injections of steroids to the bald patches or topical steroids. In cases where the hair loss is extensive or diffuse, a course of oral steroids may be required.
Without knowing the cause of hair fall, it is difficult to advise further and I would advise that you clarify the next steps of your treatment plan with your doctor.