You can't train your dog to do anything if he is not listening when you speak. Follow this simple process to get your dog to listen when you call his name
7. Reward your dog
When he looks away from the treat and at your face reward him. Make sure you don't desensitise your dog to hearing his name. If he doesn't respond to his name make a kissing noise with your lips to get his attention. Then start over. If you are having trouble at any stage, it is OK to go back a step.
[adrotate group="7"]
Here is a video with the step by step instructions.