tw for s**cidal thoughts, obviously

when dealing with anxiety, (or probably mostly when panicking) i get very quick, irrational, and impulsive thoughts of s**cide. of course im not actually going to do it, but i may end up doing some minor sh like hitting my head really hard. im pretty sure i think that i either deserve to die or dying would be better than experiencing whatever is making me anxious.

is this normal? and any tips for talking myself out of it?