IUD (help me)

Hope

Ok I got an iud about two weeks ago and I started my period a week early. Is that normal? I had some spotting at first when I got it and then some brown discharge and now I’m on my period? Or could this all be caused because I was taking the pill before I got the iud?