A shock collar would fix this quickly but many people think they are cruel. If used properly they are not. It’s cruel having a constant UTI IMO. That’s how I Dogs often become more fearful and for the wrong reasons and redirect their fearfulness in other ways. Dogs often don't understand or associate the shock to the thing that you are trying to stop them from doing. Example, a dog might think that they are being shocked for standing near a certain tree, not shocked for eating poop. So you've successfully made the dog afraid of the tree and not the poop. You think that you've solved the problem, but you just inadvertently made another problem. Shock collars don't work, if you think they do work, you probably have created another problem. My dog got shocked by a fence that I put up to keep coyotes away from the chickens, instead of understanding the fence is what shocked her, she is now afraid to come near the chickens when they are out. This is absolutely not want I wanted to happen and I'm sad that she won't come out with me anymore to nap in the hammock when the chickens are out. So anyway, shock collars often create other negative or unwanted behavior, or they create more redirected fear. Positive training using a clicker noise has worked for me to correct other behaviors. I treat her immediately upon the first signs of a UTI. It sounds like you think I just allow her to suffer and be in pain, which I don't. I would never use the electric shock of a collar, I would only use the vibration or beep setting if I were to try that.