Intercourse problems

I have the mirena and hear lately I have been having the worst pains ever in my lower abdomen during sex and after when I go to the bathroom it feels like my insides are on fire. What the heck is it? It happens ever so often.