so first and foremost sorry for the formatting I'm on mobile, anyways lately I've had a lot more free time than usually and I mean alot, most of my days are spent in bed on my phone trying to think of what to do, and it's been okay but I think it made my anxiety get worse.

 Late at night when everyone is asleep and I'm kinda sleepy and bored my mind wanders and I start to think about death and the fact that one day I won't be here anymore and no one will remember who I am. My heart get tights and I start hyperventilating, I start having a flurry of other similar thoughts like what if my family dies, how will I live when my mother passed. It's alot of panicking in a few short minutes.

I used to have alot of panic attacks when I was younger for these same reasons but they went away as I matured or I guess distracted myself from it. 

I don't know why this sudden fear has come back but it's very hard to get sleep now because I don't want to be alone with my thought for more than a minute because all I think about is death, does anyone have any tips or advice as for how to cope with this ? Thank u in advance :)