To prevent your coconut flakes from burning, toast them over medium heat and continually stir them, removing flakes as they turn golden brown.