If the child doesn't comply action is taken without further fuss on your part. After a brief time, say 5 to 10 minutes, the child can try again. It takes time and inventiveness to come up with logical consequences and you're better off thinking about them in a quiet period rather than in the heat of the moment.
Physical punishment has no place in disciplining children.
Children also develop positive feelings if you talk to them often, acknowledging that you are aware and approve of what they are doing. It's also important that the emotion you have in your expression and tone of voice matches the words you're saying. Giving a child adequate warning when you expect her to change from one activity to another or to stop doing something and get ready for bed makes her feel she is respected and she will learn to be respectful of others. Similarly saying thank you, even for little things, and apologizing to her at appropriate times, gives her a sense of importance and loveability. There are a number of ways to help a child feel capable.