How do I help him?

Sorry for long post. My boyf (22) is facing some trouble for a while now. for past 2weeks he's being so forgetful that he forgets what he ate for dinner or what snack he bought while being out. His family pressuring him for work but he's just a little stressed out so he can't focus on anything. He started tuition and he couldn't solve any question. he struggled a lot so he went home again. he stopped meeting me and hanging out with his friends too. for last few days he's behaving so weird and i don't know how to help him. he's so depressed.

maybe it's important to mention that he had a rough childhood. full of trauma that he started experiencing panic attacks and hallucinations when he was teen. and after some medication he started losing some of his childhood memories even forgot some of the moments with his first ex. then he stopped taking them and things were good for some years. and after 5months of us being together, he started having panic attacks again. he'd call me in the middle of the night and I did my best to calm him or make him feel safe. he gained some weight, taking nicotine secretly and staying up til morning which is making him sick and he's making himself a mess. i just can't get him to work on himself. He's always there saying shits like "maybe I'll lose my mind and if i go crazy you can leave" but I'm just concerned and don't wanna lose him. i love him a lot and i feel so helpless when he's there isolating himself.

How do I help him?
Post Opinion