I find this quite similar to a war in a sense. This means, when your enemy does something bad to you, you need to think about a counterattack, especially with the triggers. Made up example:
- I relapsed using my phone in my room, so I put in place a routine of not using my phone in my room...