It requires an interview with a psychiatrist but looks like you suffer through anxiety and panic attacks, try to distract yourself, thinking too much about the same thing will only worsen the problem. Try to eat right and exercise.
Next Steps
Consult a psychiatrist, counselling and meditation will benefit you.
Health Tips
Cut down on caffeine
Don’t use alcohol or other drugs