Despite of warnings, threats and consequences, babies will often continue to do what they are told not to.
Parents should know that before the age of 2, children are motivated by pleasure and that defiant behaviours are probably not for them a way to test the limits or challenge their parent’s authority.
Fortunately, as the baby’s brain develops, he will understand more clearly parent’s emotions and will want to please them and meet their needs. Over time, he will also be able to anticipate parents’ disapproval and adjust to what they ask.
In the mean time, instead of getting angry at your baby, expressing your disapproval and removing him —or the conflicting object— from the situation is certainly your best bet for immediate result.