Hearing sounds in ear without present source of sound, is known as tinnitus.
This symptoms can be due to many things, even simple one like ear wax, or serious one like benign tumor of a brain nerve.
It can be a symptom of migraine, or it can get more intensive during a migraine attack.
If you noticed that the headache is always at the same side and never shift to the other, or never generalized, or if it gets more intensive with every new attack, and is accompanied with new symptoms like hearing loss, ask for a brain MRI.
For the best answers, visit a neurologist, specialized in treating headaches!