11 weeks n spotting?

hi, i had a midwife appointment today and they did a swab just to check if everything is ok because i’ve had some concerns about having bacterial vaganosis, when she did the swab she stuck it up quite far and it really hurt and she apologised now that im home i’m spotting a bit but it’s more of a light light red picture will be inserted someone help is this a miscarriage?