Help, is it pms or something worse

Trigger warning ⚠️

Ok so since about a week ago my period is in 6 more days ive been feeling so depressed and bad i woke up with that feeling you know that feeling before you get your period just that bleh feeling that was it i was fine but as the days went on ifelt so depressed I slept all day didn’t wanna eat i just felt so overwhelmed with sadness and i keep thinking im going to die i feel so scared i have a past with depressed and self harm and anxiety can pms be the cause of this being really bad now?