Thanks for choosing health care magic for posting your query.
After going through your discussion, it appears that you are having some form of anxiety disorder. It could be a phobia or an OCD, difficulty to predict with the information that you have given. We will need further information and also a mental state examination.
The possible treatment options for you in either of the cases will be :
1) SSRI: Fluoxetine
2) BZD group of drugs: clonazepam
3) talk therapy: Cognitive behavioural therapy and hypnotherapy
You should try avoid coffee at night and laos consult your psychiatrist
at the earliest.
Hope I am able to answer your concerns.
If you have any further query, I would be glad to help you.
In future if you wish to contact me directly, you can use the below mentioned link:
Wish you good health,
Dr. Srikanth Reddy M.D.