Help!!

I've been on the pill going on my 4th packet and during halfway into my 3rd I got my period it's been 3 weeks and I'm still bleeding. What does this mean ? What should I do ?