This way works best when you're able to wait for results. Physical punishment is less effective. Many parents use physical punishment to stop undesirable behavior. The biggest drawback to this method is that although the punishment stops the bad behavior for a while, it doesn't give the child an alternative. If the child doesn't know a good behavior, he or she is likely to return to the bad behavior.
Physical punishment becomes less effective with time and can cause the child to behave aggressively.
Other methods of punishment are preferred and should be used whenever possible. When you're away from home, consider using a car or a restroom as a time-out place. When the behavior occurs, tell the child the behavior is unacceptable and give one warning that you will put the child in time out if the behavior doesn't stop. Remain calm and don't look angry. If the child goes on misbehaving, take him or her to the time-out area.