All toddlers test the limits; no particular discipline works immediately. The only way to cure the disobedience is being consistent and giving it time. Over the next few months, if you are consistent, she will learn to obey. Also, discipline should occur immediately when she misbehaves. The exact punishment is not that important; the key is consistency.