Bacterial Vaginosis?

Katie

My obgyn said that I have bacterial vaginosis. I had no symptoms except some spotting after sex. Can this be why I haven’t gotten pregnant yet? Been ttc for 8 months