My 6 year old had a bad ear ache so I gave him ofloxacin otic solution l10 hrs later he has no pain but cant hear out of his ear/ continue antibiotic?

Peculiar problem. Unless he has been swimming or has another reason to have an outer ear infection, the drops do nothing. Middle ear infections arise from retained mucus within the middle ear that is infected by throat germs. The mucus also prevents the ear bones from vibrating so they lose some hearing.You can either wait it out or have someone see whats really going on. The drops won't matter.
Topical. Unless there are tubes or a perforation the medication will not reach the middle ear. He needs an antibiotic by mouth. All the best.