Why is he barking? Is he in a crate or outside? Does he get daily exercise? Is he always separated from you or other fully members? Well, do not yell Quiet or no or shut up; they think your yell is a bark and they donut again. You need to distract or calm him or change his environment.