Thanks for the query.
Prolonged spotting can occur due to many causes. Like:
-Local causes like cervical erosion
-Uterine causes like fibroids
-General causes like thyroid hormonal abnormality etc.
But as your doctor told that you are having bacterial vaginosis
and you are having spotting only when you wipe, there is more possibility for local causes. Pelvic infection
can sometimes lead to cervical erosion etc and that can present with spotting.
So you once again consult your doctor and get examined.
Then depending on the cause treatment can be taken.
etc can help in healing local lesions.