Weird pain??

mere

This morning I noticed some pain in my lower abdomen (I guess pelvis area) in the middle. The pain got worse with urination. I didn’t think much of it and my husband and I had sex tonight. At some points it hurt so bad. Felt like the pain when I was using the restroom. I do have an IUD. Just wondering if anyone has dealt with this??