Brown Discharge 8W+1D

First pregnancy after one year of trying. 8 weeks + 1. Tonight I noticed brown discharge in my underwear and after wiping tonight. Also having intermittent RLQ abdominal cramping. Been having mild cramps from the beginning. At 5 weeks my progesterone was 9 and started taking Progesterone 100mg IM daily. So scared to have miscarriage. Has anyone ever had bleeding d/t progesterone? I have endometriosis and pcos. Currently take Metformin 500mg daily.