That sounds incredibly frustrating. Yes, we can learn to change our thinking and actions but we need help learning how to do that. Do you have a pdoc or therapist? They can help. Or is there a support group in your area? It can be helpful to talk with others who face the same struggles.