Fungal nail infection treatments work by killing or stopping the growth of fungus which causes the infection.