Pregnancy problem

Patient: I am 33 and pregnant. I’ve used an IUD for years. I am having abdominal pain, slight vaginal bleeding, and unilateral pelvic pain. I have extreme pain with motion of my cervix and palpation of the adnexa during a pelvic exam. My uterus is also very tender. What’s wrong?