An intrauterine device (IUD) is a T-shaped plastic device inserted by a health provider in the uterus to prevent pregnancy. If you have an IUD in place, or an IUD placed in the past but never removed, you may be at increased risk of having a pregnancy outside the uterus.