Take away watching TV, or playing outside, or talking on the phone. Move a young child away from unsafe things. Give her a safe toy. Give choices you can live with. You can set the table , and play outside later, or, NOT set the table, and NOT play play outside later.
Children sometimes act up just to give attention.
Don't give in to them . Ignore that kind of behavior unless your child might get hurt. Tell your child that you are disappoined or angry with his behavior, not with him as a person. Practice what you preach. Children will follow your example.