Period Question

So last week, I had a very light period, almost spotting. This week I'm having a very heavy period? I am on the pill just a little confused and worried, and well annoyed. Does anyone know what could be causing this?!