Bad smelling discharge after period after getting iud

I got off my period about a week ago & i have had very foul smelling discharge ever since, I also had sex 4 days ago, but was having this discharge before then. It's not different colored at all, at first it was dark like period blood, but the color is clear. Any one have any idea what this could be? I also got an iud a little over a month ago.