period in the middle of pack

Sarah
i have skipped my period on the pill for the past 2-3 months. i don't think i have missed any pills but i am only on the second week and i have brown discharge that is sometimes red... also there are little pieces that are coming out.... in scared to have sex because idk if my birth control will work. can anyone help out ?