how to prevent hair loss from exercise