I have an IUD

I got an IUD over a year ago, and I have just recently started spotting after a year of no periods. Well now on top of spotting I have this stuff that keeps coming out. Is it an infection maybe? Idk I’ve never dealt with it!