An intrauterine device (IUD) is a device a doctor implants in your   uterus. The procedure is well tolerated, and hospitalization isn’t required. The   IUD   prevents pregnancy by various mechanisms. It has a 99 percent rate of effectiveness, according to Planned Parenthood.