Many drugs have been studied for treating tinnitus. For some, treatment with low doses of anti-anxiety drugs -- such as Valium or antidepressants such as Elavil -- help reduce tinnitus. The use of a steroid placed into the middle ear along with an anti-anxiety medicine called alprazolam has been shown to be effective for some people. Some small studies have shown that a hormone called misoprostol may be helpful in some cases.
When tinnitus is unexpected and unwelcomed, it can lead to a negative reaction to the tinnitus. This can create a vicious cycle. When tinnitus is perceived, it can prompt emotions, including frustration, fear, unhappiness, etc.  These can, in turn, cause physical reactions such as anxiety and stress.  This reinforces the tinnitus and perpetuates the cycle. 
The important thing to remember about tinnitus is that the brain’s response to these random electrical signals determines whether or not a person is annoyed by their tinnitus or not. Magnetoencephalography (MEG, for short) studies have been used to study tinnitus and the brain. MEG takes advantage of the fact that every time neurons send each other signals, their electric current creates a tiny magnetic field. MEG allows scientists to detect such changing patterns of activity in the brain 100 times per second. These studies indicated tinnitus affects the entire brain and helps with understanding why certain therapies are more effective than others.

Prevention involves avoiding loud noise.[2] If there is an underlying cause, treating it may lead to improvements.[3] Otherwise, typically, management involves talk therapy.[5] Sound generators or hearing aids may help some.[2] As of 2013, there were no effective medications.[3] It is common, affecting about 10–15% of people.[5] Most, however, tolerate it well, and it is a significant problem in only 1–2% of people.[5] The word tinnitus is from the Latin tinnīre which means "to ring".[3]
When TRT was developed in the 1980s by neuroscientist Dr. Pawel Jastreboff (now at Emory University in Atlanta), it was designed to be administered according to a strict protocol. Today, the term TRT is being used to describe modified versions of this therapy, and the variations make accurate assessment of its effectiveness difficult. Individual studies have reported improvements in as many as 80% of patients with high-pitched tinnitus. In a Cochrane review of the one randomized trial that followed Jastreboff's protocol and met the organization's standards, TRT was much more effective in reducing tinnitus severity and disability than a technique called masking (see below).
Generally, following the initial evaluation, individuals suspected of rhythmic tinnitus will undergo some form of specialized medical imaging. Individuals may undergo high resolution computed tomography (HRCT) or magnetic resonance angiography (MRA) to evaluate blood vessel abnormalities such as a vascular malformation that may be the cause of tinnitus. An HRCT scan can also be used to evaluate the temporal bone for sinus wall abnormalities and superior semicircular canal dehiscence. HRCT uses a narrow x-ray beam and advanced computer analysis to create highly detailed images of structures within the body such as blood vessels. An MRA is done with the same equipment use for magnetic resonance imaging (MRI). An MRI uses a magnetic field and radio waves to produce cross-sectional images of particular structures or tissues within the body. An MRA provides detailed information about blood vessels. In some cases, before the scan, an intravenous line is inserted into a vein to release a special dye (contrast). This contrast highlights the blood vessels, thereby enhancing the results of the scan.
Identifying And Treating Any Vascular Issues. There is a very small chance that your tinnitus is being caused by an underlying blood vessel condition known as pulsatile tinnitus. Sometimes this condition is caused by pregnancy or strenuous exercise and other times it’s the result of a single blood vessel or a group of blood vessels experiencing increased blood flow that the rest of the body is not experiencing. On rare occurrences, the cause is a benign tumor known as an acoustic neuroma (AKA vestibular schwannoma). These tumors, although very rare, can cause the development of abnormal blood vessels which can result in pulsatile tinnitus. Treatment options include medication and surgery.
Masking. Masking devices, worn like hearing aids, generate low-level white noise (a high-pitched hiss, for example) that can reduce the perception of tinnitus and sometimes also produce residual inhibition — less noticeable tinnitus for a short time after the masker is turned off. A specialized device isn't always necessary for masking; often, playing music or having a radio, fan, or white-noise machine on in the background is enough. Although there's not enough evidence from randomized trials to draw any conclusions about the effectiveness of masking, hearing experts often recommend a trial of simple masking strategies (such as setting a radio at low volume between stations) before they turn to more expensive options.
Many people find that tinnitus causes frustration, stress, and even anger. And unfortunately, your exasperation and anxiety can seem to amplify the issue. Learning how to thoroughly relax can help you manage your tinnitus. Deep breathing, meditation, yoga, or music therapy may help in combination with sound therapy. You could also explore relaxing hobbies like gardening, painting, swimming, photography, knitting, reading, cooking, or other physical activities (walking, biking, etc.).
Since most persons with tinnitus also have hearing loss, a pure tone hearing test resulting in an audiogram may help diagnose a cause, though some persons with tinnitus do not have hearing loss. An audiogram may also facilitate fitting of a hearing aid in those cases where hearing loss is significant. The pitch of tinnitus is often in the range of the hearing loss.
Loud noise exposure: Being exposed to occupational loud noise on a regular basis from heavy equipment, chain saws or firearms is a common cause of tinnitus. However, even if you don’t work in a noisy environment, you can still suffer the effects of noise exposure by listening to loud music through headphones, attending live music performances frequently and engaging in noisy hobbies.