Dogs can suffer from stress and anxiety, which may result in them behaving badly: excessive barking, whining, destructiveness, uncleanliness and excessive licking. You can find out more information here on anxiety, stress and unwanted behaviour here.