What can I do for thining hair?

Lots of things. I would suggest seeing you dr to discuss causes. Endocrine, psychologic, and physiologic things may be in play. Treatments include topical (apply to scalp) like rogaine, (minoxidil) oral meds like Propecia and ultimately hair transplants. All work to some degree.