Nail fungus treatment does not have to be rigorous or even painful. You can either be treated for nail fungus by oral medication, a special polish to get rid of the fungus, other topical medications, or only in extreme cases by surgery. Oral medications are the most common treatments for nail fungus. However, depending on the severity of the fungus you may be eligible for surgery, which removes the nail completely allowing it to grow back new.