To teach a puppy what place it is expected to fulfill its natural needs, or how to keep a cat from scratching upholstered furniture - there are special liquids or sprays designed with attracting or repelling scents. Each particular situation requires a special solution to resolve.