This could be because of fever
you must consult an ENT specialist
and get examined as cause of infective focus needs to be found .It could be because of cold
ie might be a source of infection in the nose due to nasal or sinus
Rare chances are for the throat disease and because of infected tonsils which are carrying the infection in them and the body is not able to fight against the infection so the infection flares up on and off and there are bouts of fever and cold . and causes the immune system of body to become weak and the body becomes more prone for infections.
get examined and take proper antibiotic
to remove the focus of infection.