So, what I can assess is that you do not have dandruff as of now.
If that's the case, use ketomac shampoo once a week for maintenance, rest days you can use any other non-medicated shampoo.
Hairfall can have many causes, which needs to be assessed.
Did you have any illness/ covid/ surgery/ stress around 5-6 months prior to your hairloss?
Have you checked your
ferritin levels, hemoglobin levels,
thyroid hormone,
vitamin d levels?
Do you have visibility on scalp due to thinning.
Family history?
For hairfall, I will be able to help only after this history and examination with pictures. You can consult online.