Is it okay to use mucinex when you have phlegm

Patient: Is it okay to use mucinex when you have phlegm in your throat?

Doctor: