Giving In to An Adult Son

I’ve noticed that when I respond to something or someone with an emotional charge, that I can’t break out of old patterns. It seems that even after much meditation, prayer, etc., that if my emotions are involved I keep doing the same old things, even though I know better. For instance I keep giving in to my grownup son, then resent him. How do I break this pattern?