Do those pet scent sprays work so dogs do not pee in the house?

I was some sprays at walmart and it's a scent?
8 answers 8