A growing trend among punishments for preteens these days is to get creative. Instead of simply grounding your child or taking away a privilege, some parents incorporate the reason for the punishment inside the punishment itself. For example, you could remove the hinges of your child's door (or the door itself) if she is constantly slamming it. This can be a great way to teach lessons.
However, it's still important to follow a few simple guidelines. With preteens, be very clear with your rules, expectations and limitations. Cognitively, a preteen is beginning to understand the structure of sentences and ways to manipulate them to find loopholes, so speaking plainly with a clear message is important.
Many believe positive reinforcement of rules works the best. This means that when your child does something wrong, you talk about what she should instead be doing, as opposed to simply telling her "don't." Children can understand cause and effect, so pointing out what behavior they should be using and why can sometimes be more effective than simply telling them to stop.
As with children of any age range, being patient and consistent with punishments for preteens is key. Stick with the rules you set, and be ready and able to handle your child in a calm and collected tone if she breaks those rules.