dogs learn when their anti-bark collar is on and working, and will resume barking if the collar is removed or not working. This means that most dogs will need to wear them every time they are in a situation
https://petsaw.com/best-rechargeable-bark-collars/