This may seem silly but it does work.
When you are starting with a panic attack, make a list for yourself, with two columns. In the left hand column write down how you are feeling and what the consequences are for yourself. There may be lots and lots of reasons why you are feeling like this.
Then in the left hand column write down how you would feel if you DIDN’T feel panicky, and what the consequences would be, and how different your life would be.
Try to concentrate on the right hand column, imagining only the good things.
Repeat this every time you are having a panic attack. Hopefully you will begin to only concentrate on the GOOD things in life, and maybe the attacks will start to lessen.
I wish you luck