One weeks or less is what it took to teach our dog not to run away while off leash, to not pick up and eat things (like dead birds or snakes) off the ground. I taught the neighbors dog to stop jumping the fence in day. PetSafe training collar
https://www.amazon.com/PetSafe-Rechargeable-Waterproof-Vibration-Stimulation/dp/B073WYL89X?th=1
Use the highest shock setting for bad habit training out.
If you dont have time to fix the behavior, not sure what help you were asking for, FRiend.
Whether or not to put the dog down.