An intrauterine device (IUD) is a small T-shaped plastic device inserted into the uterus to help prevent pregnancy.