How do you raise kids

If your children were not listening when you ask something?

What is your discipline if you say no and they continue

if they want to take the shopping cart by themselves in the store could bump into something or someone. Want to do everything and it's bad manners and you explain no don't do this and they continue to do so how do you correct children in public and at home after disobedience.