Brown discharge with copper iud

Im coming to glow because Mayo Clinic suggests I have a yeast infection but I highly doubt it. I have the para guard and I get cramps regularly about a week before my period. This time my discharge was a thick brown paste and smelled very metallic. How do I produce this pasty texture I’ve never had my discharge come out so thick.