Be sure to create situations and environments in which your dog can be successful! If you don’t want them chewing your shoes, don’t leave your shoes out. If you want them toileting outside, get them outside often enough so they can. If they bark at people walking down the street, talk to a trainer who can show you how to set up that environment so that the dog doesn’t have to bark.
This will serve two purposes. Your dog will learn appropriate behaviors and you’ll be less inclined to feel angry and frustrated with them. Punishment, force and coercion may have immediate, but not necessarily long lasting, positive results. Helping your dog be successful at being a better behaved dog can help you be a better behaved human.