"I spank.""I give time-outs."
"I withhold certain things they like."
"I make them sit on a corner. "
These answers don't really show discipline, they talk about what you are supposed to do to reinforce discipline.
Punishing may successfully curb behavior but it doesn't address the root issue...the attitude. Let's say for example that your child screams at you when she's angry. You can give her time out and say "Don't shout at mommy". But what does that teach? Does that address the issue of respect? Does it teach her how she can better deal with her anger? Maybe, just maybe, your child would stop shouting at you but unless the root issues are addressed the behavior would just manifest itself differently. Maybe your child would start hitting, or talking back, or slamming the door to show her anger. If a heart problem is not addressed, it is sure to show itself again in again in different ways.