That depends on what they did.
If it’s something small (like breaking a rule or making a harmless mistake), I’d probably help them fix it and encourage them to be honest. But if it’s something serious—like someone getting hurt or something dangerous—then it’s important to tell a trusted adult. Covering it up in those situations can make things worse.
