Get ENT consultation to rule out any ear wax or infection, to rule out dental caries
, Salivary gland
Pain in mouth and ears can be because of infection in any of these areas as there is referred pain
to the other area.
You have dizziness so there can be a component of middle ear infection
so get it examined and tested by impedance audiometry.
Do brush two times a day , gargle properly and see a doctor.