birth control spotting

Do you brown spot with birth control? In the middle of the month I spotted brown for several days is it part of the pill?