Is this just my anxiety disorder acting up or is it something deeper?

I had a panic attack thinking about the suicidal thoughts and actions symptom that comes with taking my antidepressants. I thought about if i’d do it and how i’d do it and I had so much fear.
Is this just my anxiety disorder acting up or is it something deeper?
Post Opinion