Fungal nail treatment while trying to concieve

Christina • Armenian. Shopaholic. Married ♡♡♡
I want to take anti fungal nail treatment but am scared to take them because my doctor told me it could give problems trying to have a baby ?? Is this true???