Pill on period

M

I started the pill a few days after my period but and my period is coming up but all my yellow pills aren’t gone do I take them when I’m on my period or do I take the dark brown once’s?