<s>[INST] i have been having this bad cough for the past few weeks and there has been stuff coming up. Its like a green and it looks like the stuff that comes out of my nose. but my nose is fine. just the cough. when i wake up in the morning it is really bad and i spit up alot. [/INST] Thanks for your question on Chat Doctor. I can understand your concern. You are having chronic cough (cough for more than 2 weeks) with greenish expectoration. These symptoms are commonly seen with lung infection (pneumonia) and bronchitis. So better to consult pulmonologist and get done 1. Clinical examination of respiratory system 2. Chest x-ray 3. PUT (pulmonary function test). Chest x-ray is must for the diagnosis of pneumonia. PFT will not only diagnose bronchitis, but it will also tell you about severity of the disease and treatment is based on severity only. You will mostly improve with antibiotics, inhaled bronchodilator and inhaled corticosteroids (ICS). Don't worry, you will be alright but first diagnose yourself and then start appropriate treatment. Hope I have solved your query. I will be happy to help you further. Wish you good health. Thanks. </s>