Prevent hair loss by eating these foods.