Undamaged Dye Hair

What do I need to do when dying my hair without damaging it?