How do you punish a child out of love?
Work with your child to find a solution instead of taking extreme measures, like grounding. Talk about what went wrong, and ask your kid how they'd like to rebuild trust with you. Encourage them to think through things instead of just dishing out a punishment.