Metronidazole during pregnancy??

Am currently in week 5 and found positive with both BV and yeast infection.. my doctor prescribed me with metronidazole.. so I wonder is their anyone who used it in first trimester and is it safe?? Am really worried.. pls help..