Sounds like an infection. I would recommend consulting your physician.
Hello and hope you are doing well.
With discharge and hearing loss most probably it an otitis interna (inner ear infection) and it has ruptured the tympanic membrane. The other cause for discharge is otitis externa. Have a culture and sensitivity test done to find out the correct antibiotic that the infecting organism is sensitive to and taking this medication for the required amount of days may help to clear the infection. Please discuss this with your doctor am sure he will provide further assistance.
Hope this helped and do keep us posted.