Shock Collar
My family trained our dog to use a shock collar. We took it outside with a leash. We let the dog get shocked. The dog hears a beep. That means they are going too far.