I can't let you completely eliminate this feeling, and it can't be completely eliminated once it occurs. I just came to share my opinion.
1. This question is thought too early, and most people should start thinking about it in middle age. So you need to divert your attention, do what you should do while you are alive, and start thinking at the age of forty.
2. Deliberately leave some unfinished things every night, then think about these things, and then plan what tasks to have tomorrow. Keep yourself busy. Sometimes, anxiety is the opposite and nemesis of depression. It won't do much harm to use it properly. )
Talking to yourself can relieve this depression.
4. By recalling the past (not a simple memory), analyze your past achievements, analyze your own personality (your true side), and give yourself a reason to "die without regret".
5. Tell yourself: there is a 50% chance that consciousness will last forever! Because no one can prove it. ) or someone can discover this secret and promote it in the future. Hope tomorrow!
6. Tell yourself that science will be more and more developed in the future, and mankind will eventually conquer death. I read a newspaper report a month ago, probably an article predicting the trend of science and technology in the next 50 years, which mentioned this exciting news: in 2050, human beings will invent artificial brain technology, and human beings will bid farewell to death unless you want to die. But there are still many problems, such as everyone being controlled by ideas. )
In view of the above, you need to say to yourself: living is more important than living for a long time, eat, drink and be merry!
8. If these things can't be realized in your later years, go to religion to comfort your soul.
9. For severe symptoms, medicine is a shortcut to solve the problem.
10. Think backwards and experience this fear, because the body has adaptability.