IUD and treating a yeast infection

When treating a yeast infection, will this affect my IUD at all long term? I know I am not supposed to engage in sexual activity during (wouldn't want to anyways haha), but am wondering if there are any long term effects.