ways to prevent hair thinning after 40s