The first and basic thing one can do for healthy long hair is to keep it scrupulously clean by shampooing regularly.
The correct procedure is to wet hair and start shampooing at the scalp where all the grease and dirt accumulates,and then gently massage the shampoo onto the lengths and ends of hair. While shampooing let the hair hang naturally working the lather from roots to the ends.