I just went to the dermatologist this morning. I may go bald when I get older but I think the main reason for me is that I take kratom, so I cut down and it got a little better. Are you taking any kind of medication or supplements?
Also the last time I went I got prescribed ketoconazole shampoo for my dry, flaky scalp. It appears that you have that too. Go to a dermatologist now and find out.
I had patches of hair that were thinning when I first went. Now, my hair is still thinner than it used to be, but it's evenly distributed throughout my head rather than spots where it's extra. It's overall getting better. You might be ok