So now you have an energetic, sweet and sassy schnauzer, and his responses will be different than your previous dog. There are many types of aggressive behavior, and without discussing your dog with you, more specific advice would be based on assumptions rather than facts. Two years ago, she had a urinary tract infection and was wetting on the carpet. The vet says it's a learned behavior. This cat is ruining our house.
Medical problems require a vet's diagnosis and treatment.
When you rule out medical problems, there are some things you can do. A professional may be required, and be sure an odor eliminator is used. Not one of those sweet-smelling coverups, but a professional odor eliminator. Once the odor is gone, start with a clean litter box and your cat's favorite litter. When there is no place else but the bare floor, cats will tend to use the litter box.