Treat panic attacks
First, let us make sure that what you are experiencing are actually panic attacks
and not something else.
Have a medical evaluation, preferably with a neurologist. Once your condition is clarified, you can be directed for specific medical and/or psychiatric interventions appropriate to your needs.