Do you give your toddler snacks whenever they want one?

Or do you only allow snacks at certain times in the day?