Had it for a long time, used to have attacks but i solved it.
Find meaning in your life
Develop an innate trust in yourself and prove yourself to be dependable in the face of adversity.
Do physical exercise every day or two and Improve yourself constantly so you feel good about yourself.
Realise that other people are just you wearing social masks pretending they know what they're doing.
Pretend to be someone else who is confident like you're acting and it's like a game, do it enough times and you'll become that person.
Do what you need to do when you need to do it
(be dependable to yourself)
Shoulders back, chest forward.
Eat consistently as it can be to do with blood sugar, that means eating breakfast even though you don't want to.
Try and stay in the moment, sometimes when i'm lost in thought I "wake up" by focusing on something in the room and it puts me back in the present.
You'll get there :)