Keep an upbeat attitude.
Never hit your dog. Instead, when you catch him being naughty, a firm no in a low voice should get him to stop. When he looks at you, praise him and give him an obedience command, like "sit." Use his name and praise him often for good behavior. Begin and end each training session with playtime. Use one kibble or treat as motivation while training but remember to feed treats in moderation.