I know how easy it is to be so mad at this condition and the number it does to us. I find that for me, practicing being as kind and compassionate to myself and then to my loved ones really does help. Staying as calm and peaceful as I can (both while having an attack and during pain free time) helps to lessen pain and attacks overall.
I know it is SO MUCH easier said than done. But just try and practice compassion in every way you can, starting toward yourself and it helps.
Sometimes what I do to facilitate this is I imagine myself as a 16 year old kid getting these attacks for the first time. I think about how scared he was and how alone he felt and how much pain he was in. I feel so, so sad for him and just want to hug him and tell him everything will be ok and comfort him the best I can. Then I take all of those feelings I’m experiencing toward the young version of me and extend them toward present day version of me. Compassion and care and empathy toward myself. For me it helps to calm me down and lessen overall pain and suffering.