Thank you for the information,
The constant & steady sound in the ears is called tinnitus.
There are many causes for tinnitus , but some times no cause can be evident also.
The causes may be -exposure to loud sound, ear wax, stiffening of bones of the ear or otosclerosis.
There may be vascular causes like high blood pressure
, any blood vessel malformation, or any abnormal flow of blood may lead to this feeling.
Sometimes anxiety , depression or taking of medicines like antibiotics , aspirin , water pills etc. may also cause it.
As you are having discharge from the ear along with pain , it is likely that you are having an ear infection , which is causing the sound.
You need to consult an ENT specialist to have an examination of your ear.
I hope this information will be helpful.
Please ask if you need any clarification.