The most effective thing I yell at dogs is "Get a job!"

The content reminds me to tinge my voice with contempt, not anxiety or anger - and the dogs respond to my assertion of superiority. I think that's why it works, anyway.