Likely to be cause by cradle cap.
You have to wash your baby's hair regularly with a baby shampoo, and then loosen the flakes using a soft brush.
Rub a mild baby oil or olive oil oil into your baby's scalp. After that gentle wash away the cradle cap.