Yes, I've had it multiple times, but I'm prone to it apparently. It happens when the good bacteria gets out of balance with the "bad" bacteria, but doesn't always mean you have an infection that needs treated. Usually if its seen on my pap test, they will ask me if I have had vaginosis symptoms. If not, they won't treat as it'll likely go away on its own, but will tell me to call if any symptoms start so they can prescribe treatment then if needed. Obviously they don't want to overtreat, because that can lead to bacterial resistance to meds, so they save treatment for those actually displaying symptoms, like discharge, itching, noticeable vaginosis odor, etc.
Since you are trying to get pregnant, they will likely treat any infections as they can contribute to m/c (not directly cause, but can contribute).
Also, I do pap test screening, HPV testing, and vaginosis testing for a living (cytotechnologist with molecular testing), and bacterial vaginosis is INCREDIBLY common. Just wanted to reassure you on that front, that its not some weird disease that not many women get. I see it literally half the day every day. most of the cases will not be treated as they are not symptomatic, and will go away on their own. Others have vaginosis tests ordered along with the pap test because they do have symptoms that need confirmed for treatment, and will get antibiotics. It's more common than yeast infections, which are also common. So don't fret too much over it, hun. I'm sure you'll do just fine with treatment, and should be back to normal.
Also, I had a bacterial vaginosis infection while pregnant with DS2 that needed treatment, and the pregnancy wasn't affected by it.