Hi! You could be having some form of scalp dermatitis not necessarily Seborrheic dermatitis.
As for balding the maintenance with minoxidil or other medicines needs to be continued as long as the hair is needed.
Next Steps
Visit personally for proper scalp and hair analysis.
Health Tips
Following blog posts should be helpful
1. "Understanding Dandruff" by Dr. Jolly Shah Kapadia - https://www.practo.com/healthfeed/understanding-dandruff-8830/post
2. "How to Reduce Hair Loss: 25 Easy Ways!" by Dr. Jolly Shah Kapadia - https://www.practo.com/healthfeed/how-to-reduce-hair-loss-25-easy-ways-25454/post