I ve had recurrent episodes of pneumonia, treated with oral antibiotics to no avail. This is the fourth time I ve had it, and although I have coughed up phlegm before as a result, this time it seems to be a lot worse. I m unable to sleep; almost as soon as I lie down, I feel the urge to cough, and it s not just at night. I seem to be coughing up phlegm constantly, as if there s a never ending supply of it. I really need some advice of how to deal with it, because I m absolutely exhausted. I have no problem getting the mucus out, it s just there s no end to it.