Buttons against barking?

My dog Benny has quite a barking issue with a very painful tone and gets into a frenzy he can't stop sometimes. It happens way to often and (sorry Benny) his voice is just to loud. Sometimes it's for attention but almost always about something outside. Other dogs = nightmare, other cats = next level nightmare. Those two are the real frenzy's, anything else (say sounds outside) is loud barking, but without him losing his mind. I was wondering if anyone has figured out how to use the buttons to stop barking? Thanks in advance 🐶