Each time your neighbors dog starts barking, press and release the device. Although you cannot hear the sound, the dog will. It will stop barking, and as soon as it emits another bark, press and release the device. Youll notice that the dog will soon associate the unpleasant sound of the device with its night barks, and it will quiet down.