Period after pregnancy

I gave birth on July 19 and I only stopped bleeding maybe once it’s almost October why won’t it stop. I have a iud could that be why?