Birth control pills

With the pill do you have to take the red covered ones until the row is finished or just when you have your period?