affect TTC

Does vitiam d for the immune system affect my chances of TTC??? Take those because of a previous kidney infection.