How to get rid of BV

How do you get rid of a BV? Or something that helps? Can it cause you not to get pregnant?