Sarah,
Many people have panic attacks for various reasons. If these panic attacks are spontaneous, without any identifiable trigger initially, then it represents panic disoder. Recurrent panic attacks may result in agorophobia, which is the fear of being alone in a public place where an attack may occur. If you have panic disorder then you should be treated with a medication such as an SSRI. It also appears that you have significant relationship problems which may represent a personality disorder and should be explored further. Please discuss these issues further with your treating psychiatrist. Psychotherapy could be very helpful as part of your treatment to clarify and gain insight into your situation.
Sincerely,
HFHS MD-JM