Of course, often you actually want the cough to do its job
And for that it's pretty hard to beat senega and ammonia. Breathing the effusions from a jug full of steaming hot water with a few drops of eucalyptus oil also works well for both types of cough.