Help?

Can I use ketoconazole cream for BV (bacterial vagininosis) inside of my vagina or does it have to be outside ? oB didn’t explain to me . I’m currently 27 weeks