Preparation for ERCP typically involves fasting for several hours before the procedure to ensure an empty stomach. Information about the child's medical history, allergies, and current medications should be thoroughly reviewed. The child may need to stop certain medications temporarily, and a thorough discussion about the procedure and its risks should be held with the parents or guardians.