Tea or coffee for a cough

Which would be better? I have a horrible throaty cough for the past 5 days. today I had hard thick green bits coming from my throat when brushing. Need to sooth it. would a latte be better?