While some spicy or bitter deterrents can work, it's essential to ensure they're safe for pets. Some spicy ingredients can be too harsh for a dog's sensitive mouth or digestive system. Always test a small amount first and observe for any adverse reactions.