How to remedy a cough depends on what's causing it