Bleeding

I was on the mini pill and my period finished last week but yesterday I woke up bleeding so I stopped taking my pill because I don’t want it anymore if it’s going to make me bleed. Today I am still bleeding and I’m wondering how long it could last even though I have stopped taking my pill and my pill is supposed to stop working after 24 hours of not taking it