Our job as parents gets MUCH easier when we remember that behavior is communication. What is your child trying to tell you? If she's verbal enough, you can actually ask her. If not, take your best guess, respond to that message, and watch the results to see if you were correct.
For example, let's say your child is kicking the table leg during dinner. What could your child be trying to tell you?