There's an oral medication by prescription that works well, and if it's bad, it's probably the only way you're going to get rid of it. It'll take awhile, but it works. One of the meds is called Lamisil, then there is Penlac nail "polish", and Sporanox. You really need to see a Dr about it though. They usually do bloodwork as the side effects can damage organs, and they also need to find out what kind of fungus it is.
I didn't find the right solution from the Internet.