IUD and STI

does having an IUD make it more likely for an STI to spread/get worse than it would without one?