The timing of preparation depends on the child's age, developmental stage, and the nature of the medical intervention. Generally, it should begin as early as possible to give the child adequate time to understand and ask questions. For younger children, preparation might start a few days in advance, while older children might benefit from earlier preparation.