At what age would you tell a child that they were adopted?

At what age would you tell a child that they were adopted?