There are a few things that can cause fungal nail infection. The most common cause is overuse of polish or other treatments on your nails. Another cause is a virus that causes the fungus to grow. If you have any of these conditions, you may be able to treat your infection with antibiotics.