You obviously have a cold/sore throat/sinusitis problem that you have neglected, which has spread to your ears. It is your nose and sinus secretions that are exiting your ears! Unless that problem which is the root cause of your suffering is treated, your ears will not stop discharging! This treatment will also solve your headaches issue.
Next Steps
use this app on your smartphone to fix up an appointment to meet me at my clinic Healthcare@Basaveshwaranagar as soon as possible, and I will help you out.