You might have acquired with Viral infection.So,you had sorethroat,fever
,body aches etc.
Bacterial infection has been secondarily acquired,most probably with the delay in the treatment.
You have to consult your ENT doctor and get examined.
You may have to take Good antibiotic,Antipyretic
You have rest your voice for few days.
Coughing up of mucus suggests that Lower respiratory tract
is also involved.It will be responded to the above treatment.Otherwise,you have to consult chest Physician for this.
Everything will get subsided.
Wish you good health.