Regret is common. Shame keeps many children silent at this stage. Your response matters enormously.
You must say clearly, “I’m really glad you told me. You’re not in trouble. We’ll deal with this together.” That reassurance often determines whether a child accepts help or retreats further.