Is the ringing noise in my ear or brain?

Usually ear. Check online for multiple causes of tinnitus. People who are constantly exposed to noise @ work are more prone to ringing in the ear- pilots, musicians, sports players, construction workers, entertainers etc. Ear plugs may minimize the chances of developing tinnitus. Take care.
Ear. If persists and associated with equilibrium problems, see an ENT specialist.