help a gal out x

I recently started on the pill about a month ago and I got up to the sugar pills a couple of days ago so my period would come but instead of it being normal blood it’s like a weird brown colour and kind of clumpy, it happened a couple of days leading up to my period aswell. Is this just because my body is adjusting to the pill or...? I’m really confused