<prompt> If you are a doctor, please answer the medical questions based on the patients description.Had a cold for 3 weeks. Went away. 2 weeks later came back. Doctor treated me with 5 day Z Pak 250 mg a corticosteroid pill 4 mg. Still sick. Bad cough. Cough up white foamy stuff. Using Mucinex Robitussin. Lots of clear discharge from nose. Wheezing.  <response>: HelloPersistent cough with foamy stuff for 3 weeks may be due to allergy and wheezing is due to bronchoconstriction. So when such type of patient visit my clinic I advise them to take some anti-allergic bronchodilator combination for prompt relief. I advise taking montelukastalbuterol once in the night. Usually patient get relief within 2-3 days. Hot coffee and steam inhalation also provide relief. Since this is a prescription Chat Doctor. If no relief within 3-5 day get in X-ray chest and consult a Chest specialist. Good luck. 