Fungal infections like thrush can also cause white patches although these look different from other infections and a doctor should usually recognize this right away. Fungal infections are treated with different drugs from bacterial infections.
So sorry - there is no simple answer.
If the ear pain is caused by something else than tubes will not help at all.
An ear doctor, working with an audiologist who can do a full function test of the ear and Eustachian tube can telll what is causing the ear pain. Sometimes it is not even the ear!!. Pain in the throat, tonsils, vocal cords, etc. or even the jaw joint can be “ referred” to th ear and feel just like ear pain.