How safe is an IUD?

Aundrea

I'm currently taking the pill and I've been on it for the past seven years and I'm considering switching to an IUD, but I hear there could be some bad possible side effects like infertility? And all the pain stories I've heard about insertion. Anyone have any advice on them?