If I'm taking a contraceptive pill to prevent the menstruation, after taking it for 21 days you take a week off where you get a withdrawal bleeding,(due to not taking the pill in this break) do the laws of menstruation or istihaza apply for this?

If the bleeding continues 3 days, It is menses.