For example, your child is ready to play with the electrical cords behind the television set. Don't wait for her to get hurt to learn the lesson. Protect and distract. A three year old may be able to climb out of the playpen, so choose a safe place that is not frightening. Perhaps have a time out chair or remove the child to her room.
Youngsters model their behavior from parents' example.
Remember to keep your cool and be consistent. Another hint that may be helpful is to decide in advance what behaviors are acceptable and unacceptable with your spouse. Be sure to show a united front. Children are very quick to learn how to play one parent off another. Also, inform your child's caregiver of the rules and consequences, praise and encouragement.