how to prevent the hair loss