Hi, welcome to the forum. It is quite important to rule out the cause of the cough, at the same time exacerbating factors, such as exposure to environmental tobacco smoke, dust etc. should be pointed out and further exposure should be avoided. It is important to know whether you have aspirated any foreign body. The cough can also be associated with asthma. This may be seen in association with the factors like cold air, sleep, or allergens.
The other causes needed to be ruled out are airway malacia, laryngotracheobronchitis and infection with Chlamydia trachomatis. If there is presence of sputum with cough then we can suspect the infection. You need to undergo certain tests like allergen test, spirometry, and serological test for Chlamydia and bronchoscopy to rule out foreign body.
Treatment includes cough suppressants, a trial therapy with bronchodilators, avoiding triggering factors, and available home remedies like use of honey and echinacea. I suggest you to consult physician specialized in respiratory medicine for evaluation and prescription and above drugs. Take care and regards.
You really need to see your doctor. There are many causes for a chronic cough ranging from asthma and acid reflux to many other forms of lung disease and even some cardiac problems. You need an accurate diagnosis with the apropriate treatment plan. Sorry, no quick fixes here.
Feel better.