What can you do to stop Hair Loss while Young?

Ok, my doctor said there is nothing you can do. But I read that you can do things that can slow hair loss, while the young. Anyone know what can be done to prevent the loss of hair as you get older?