Tinnitus, or ringing in the ears, can be caused by almost anything.
It could be as simple as allergies or as serious as Meniere's disease.
Only a medical doctor could tell you. There's no way for us to figure it out over the internet. I hope you feel better and the sound goes away soon.