Is this okay?

RQ

So this is the first month on BC pill. I miscarried on July 20 and I was diagnosed with PCOS after my loss. I was prescribed BC pill and Metformin to treat PCOS. I started taking the pills on August 29 and AF showed today. Is this normal? I am confused. I thought I was gonna get AF after the brown pills. TIA