This question already has an answer here:
It is my understanding that the Children of the Forest first created the White Walkers in order to protect themselves from the First Men. However, something must have happened that then the Children of the Forest and the First Men teamed up to defeat, or at least repel, the White Walkers. What is that something? Or am I misinterpreting the show?