A child before bar- or bat-mitzvah can eat dairy immediately without waiting, but he should be taught in accordance with his ability (see Shut Yechaveh Da'at).
If an infant only falls asleep if he has had a bottle of milk, and he has just eaten meat, he can be given milk.