The unit automatically emits an ultrasonic tone that can be heard by dogs but is silent to most humans.
Startled by the high-pitched tone, the dog should stop barking.