Bacterial Vaginosis

I was just diagnosed with a vaginal infection and given metrogel to clear the infection. The discharge I was having that led the doctor to diagnose me is something I've been having for almost 2 years but I didn't think anything of it. Now I'm worried about possible infertility from the infection. Anybody know anymore info about this? The doctor said its unlikely but I'm still worried.