Bacterial Vaginosis?

I just found out I have it. What causes it? She didn't explain to me very well. I've seen a few women talk about it with pregnancy. It doesn't mean pregnancy right?

Any tips?