How do I protect my hair part from burning in the sun or treat when it flakes?

Hat or sunscreen. Ideally, wear a hat. If that is not feasible, use a spray-on broad-spectrum sunscreen at least twice a day.