Hello and hope you are doing well.
Cough with sputum indicate an infection of the lower respiratory tract. This is more so if you have fever. You need antibiotics to tackle the infection. So, please consult your primary care physician at the earliest. In the meantime you could try warm salt water gargles, steam inhalation and OTC Tylenol (acetaminophen).
Hope this helped and do keep us posted.
Sounds like swollen glands along with the coughing and phlegm.
I would recommend consulting your physician; this could be a number of things.