Most important bit of advice you need: there are many many schools of training out there (referring both to books/resources and professional trainers) that base their advice in outdated, unscientific and frankly abusive dominance theories. Long story short, every time you hear or read things like "alpha male", "becoming leader of the pack", or similar, walk away . Despite the theories having been rebuked for decades,…
And it makes sense to be very consequent about rules. Don't make exceptions. No food at the table (watch your guests), not going on to the bed, has to ask to join on the couch, no crossing a street without a "go" etc. If you want to share bed and fork with your dog that's of course your choice too :)
And of course don't "calm them down" with food or something when barking...