While there are many possibilities, I suffered from this myself. One doctor thought that my testosterone levels were high (even females have a small amount) and another thought it might be my thyroid. A simple blood test showed it was my thyroid and medication is helping it to fill back in. Had it been my testosterone levels, there is little that can be done. Asking your physician to run a complete blood panel is probably the best place to start.
I agree with Alishia21 about depression being the cause of some hair loss. The hair loss should be a spot of total loss of hair, and the spot usually is shinny as in male pattern baldness. If this is the case the hair grows back as you work on getting well from your illness. I wish you well in your recovery whatever the illness is.
Depression could be the result of hair loss in patches as well.
It's the medication ,go to your doctor and let him or her know you are losing your hair.