I understand. It feels awful.
IMO, those triggers and setbacks are practically unavoidable. All I can suggest is to not minimize the harm that those triggers cause and apologize for the specific action. Also, I think it's human to slip up every once in a while. If we do it all the time,on the other hand, it indicates that we do not care about our BS triggers. So just try to be mindful all the time.