Hi,
Dry cough is due to throat irritation. If it is not severe, then you shouldnot suppress it by taking cough syrup.
You can try warm saline gargle before and after the sleep and also some anti reflux medications.
If you still feel the same problem, it is better to consult an otolaryngologist in person and do a laryngeal endoscopy.
Next Steps
warm saline gargle before and anti reflux medications.
Health Tips
If you have the habit of smoking, it is better to quit it.