I would say find out why they are disobeying first. Punishing for not knowing the reason is a mistake in itself. For a slave to willfully disobey the root of that needs to be found first or it will be repeated over and over.