how to prevent hair loss if it's genetic