Children on Yom Kippur

At what age should children be trained to fast on Yom Kippur?

The Rabbi said kids don’t have to start fasting until they’re bar/bat mitzvah.