how to prevent hair loss from ringworm