Minoxidil is suggestable only incase of Androgenic Alopecia / Severe Tellogen effluvium, so dont jump into it soon
First get you're blood test done, i'm sure you may nutritional deficiency that's main reason causing haifall
Blood test should include CBC, Vit D,Vit B12, iron, zinc & thyroid test
Then consult a doctor with these report, fix your nutritional levels, remember it takes time atleast 3-6 months, first indication of recovery is your hairfall will reduce then hair will start to grow gradually over period of time
Most important have healthy diet & good sleep
Don't stress no matter what
After you fix everything, if you feel issue isn't resolved then discuss about minoxidil-fin with doctor as last option
Hope it helps you to take wise decision 👍