Anxiety cause preterm labor?

Posting anonymously so family doesnt see and freak out and make anxiety worse.

But I am in my 3rd trimester and it seems that everything that can go wrong is going wrong and my anxiety has become so bad these last few days that I have had panic attacks. I dealt with anxiety before pregnancy also but it has gotten really bad and my best friend told me it could cause preterm labor.

Has anyone else been through this? What helped? I will be talking to my doctor at my next appointment but right now I am looking for reassurance.

Please no negative comment

Edit* I am 32 weeks and I am anxious about everything, some of it is pregnancy related but most of it is just everything else such as holidays coming up, work, driving when it starts to snow (freaks me out) and so many other things that it feels hard to breath when I start thinking about them.