Periods on the IUD

So I got my first IUD on my period (that’s what my doctor said to do idk) and then after I got it my period didn’t stop for like..... 2 or 3 weeks. Granted it was light and it has stopped now but I was wondering if that’s normal at all?