There is no definitive answer to this question as it depends on the individual dog and what type of bark they are making. Some dogs may stop barking after hearing an ultrasonic sound, while others may continue to bark despite the sound. It is best to try different types of sounds to see which one works best for your dog.