If you got pregnant with the IUD...

Was it because you took a medication that interacted with the IUD? Or did the IUD just not work?