The main reason why phlegm stuck in throat cannot be spit out is that the phlegm is sticky and not easy to be coughed out, so you need to drink more water, eat more fresh vegetables and fruits, and also need to take oral medication to dilute the phlegm, commonly used medications include aminoglutethimide granules and acetylcysteine. You can also use Chinese medicines such as snake bile and Chuanbei liquid, acute syrup and fresh bamboo oral liquid to stop coughing and dissolve phlegm, which can promote the discharge of phlegm, and you can also dilute phlegm by nebulizing inhalation. If the sputum is yellow, it is mainly due to bacterial infection and needs to be treated actively with sensitive antibacterial drugs, such as cephalosporin or penicillin, and also roxithromycin, azithromycin and levofloxacin.