ok i have a feeling its not panic attack but i would like to know more about it to clarify this problem. what causes panic attacks?

as an extra information. i have needle fobia! this is my first cycle and my first shot was done by me! did i panic? hmm a little, but i didnt faint or majorly panic (everything was under control, so practically i didnt panic)! usually i get extremly dizzy and faint when a nurse draws blood from me. panicing comes from something you fear and my needle fobia fear is 90% gone once i did the shots myself.