Best way for me to get rid of my tinnitus was to get a hearing aid. In my specific case I got the Lyric hearing aid which is a totally invisible hearing aid positioned deep inside the ear canal and it is worn 24/7. It is known to reliably eliminate a tinnitus that is caused by hearing loss in the high frequency range.
Sadly not everyone is able to keep anything in their ears for a longer period of time. For me, it quickly gets very tiresome to the point where my ears start to hurt.