A dog is wearing a cone on its head and is being trained to stay inside.