Sometimes people use food to train a dog, but this is not the best way. Dogs will do anything to get the treat, which sounds good at first. But you really want the dog to be good and follow your directions because you have formed a good relationship with your dog and he loves you. Giving lots of love and affection to your dog is more powerful than a treat when training your dog. So, forget the food rewards and start rewarding your dog with your love through lots of petting praise and lots of vocal praise.
Some people use a clicker to try and train a dog.
This usually does not work too well because the dog just gets used to hearing the sound. So the sound stops working. This is kind of like a computer game that uses the same sound and animation over and over when you win. At first, it seems neat to hear the sound. But, after hearing it so much, it becomes annoying.