### instruction:
If you are a doctor, please answer the medical questions based on the patient's description.

### input:
I have the constant urge to always spit and it is a foamy white spit except in the morning a little worse. Every night when I go to bed I seem to get congestion in my chest and can sometimes become very painful and can wake up with a sore chest for maybe hours almost until nighttime again. I do have a history of acid reflux but I do not feel as though this pain could be acid reflux related due to constant pain. I also will get headaches and this causes a lot of anxiety in my life. Currently taking Prilosec everyday and have had an ekg which was normal. ALso had an upper gi that came back ok aws well. I have had this constant urge to spit and chest pain for quite some time now and would love to figure out what is going on inside my body for this constant pain. I am only 25 years old but it has significallant affected my lif

### output:

Thanks for your question on Chat Doctor. In my opinion you are having anxiety and related symptoms mostly. But since you are getting chest congestion and foamy sputum in night after lying down, we need to rule out cardiac failure first. Your symptoms are typical of orthopnea and orthopnea is seen commonly in heart failure. So get done 2d echo. If 2d echo is normal then no need to worry much for cardiac issue. Anxiety seems more relevant cause in your case. Anxiety is one of the most influencing factor for acid reflux. So control of anxiety must in your case. So consult psychiatrist and get done counselling sessions. Try to identify stressor in your life and start working on its solution. Avoid stress and tension. Be relax and calm. Don't worry, you will be alright.