Lexapro is known to treat anxiety in dogs, but if it does not work, Prozac can be used as an alternative.