Your health care provider might suggest temporary removal of the nail so that the antifungal drug can be applied directly to the infection under the nail. The most effective but least used option is surgery to permanently remove the nail and its root.