you must get an Xray soft tissue
neck lateral view of nasopharynx
MOst probably she is having enlarged adenoids and because of that she is having recurrent ear and nose infections and fever.
see adenoids are present behind the nose upto age of 7 yrs.
if enlarged they block the drainage
of mucus from nose and so she develops nasal infections and is not able to breath.she must be a mouth breather and a snorer ,you can tell this.
there is a tube connecting the middle part of ear and behind the nose where the adenoids are present and if the adenoid are enlarged they block this tube so negative pressure generates behind the ear drum and fluid accumulation in ear and causes ear infection
So consult an ENT specialist
and get the x ray done.
till then you can give her -
and anti reflux medicines as gastroesophgeal reflux in children causes these adenoids to enlarge.