Look up engagement training
It'll take some time but you need to show the dog that all good things come from you. Work on focus work where the dog has to look you in the eye and really work at keeping his attention, use voice, posture, food, toys, whatever gets the dog excited and use it to your advantage
Also, make sure all the time you spend with the dog is quality time focused on them.
Jasmine - Female Miniature Poodle - born Aug 15, 2010
Loker Delgado Von Stalworth - Male GSD - born Jan 26, 2012
Koda & Zazu - 5 year old male cats
Alex - Male Cocker Spaniel (rescue) - RIP Cuddlebug 2007-2010