First thing you need to focus on is proper cleansing and nourishing your hair. You ought to find and use hair care products that specifically address your problem and are suited to your hair type.
Organic and herbal hair products are your best bets for healthy and shiny hair. You ought to read the ingredients of the products, and try to avoid chemical infiltrated products, like ones having Sodium lauryl sulphate which may make your hair look healthy for a while but ruin it after repeated use by depleting the hair of its natural oil, making it prone to damage.
Your hair may also lose its vitality because of an unclean scalp. So you ought to frequently shampoo and condition your hair in order to avoid the build-up.
When coloring or dying your hair, you should choose high-quality products which give nourishment to your hair and nurture it to health because styling treatments, colorings, perming and straightening weaken and damage your hair cuticles to a great degree.
Try not to blow dry often, use hair straightening irons or brush your hair too roughly.