Some prescription pills that might be able to help you are:
I strongly urge you (as someone who had hair loss due to causes that I fixed with mineral supplements and cessation of ponytails,) to be sure of your diagnosis before trying prescription pills. Only a doctor can confirm your diagnosis! Please read about the drugs carefully and consult your doctor. I made this list so you can come prepared with suggestions for your doctor OR purchase medications already prescribed to you. This is by no means a shortcut for you to get drugs that could be dangerous, have adverse side effects and hypothetically (if the drug isn’t for your condition) actually do nothing for your hair loss.