Mirena shift.

Miranda
I've had my IUD for almost two years now and it shifts every now and then but never had this problem before.
My period has always been pretty consistent. Though this last period I had was normal but four days off my period I started spotting again. Just a little bit.
I've been having sharp pains in my hips and recently in my abdomen. Also have had clear discharge. 
I had unprotected sex with my boyfriend the day before and after I got my period.
Anyone have the same issue or know the problem?