Help me

Is Yeast infection and a bacterial vaginosis is bad? Like can someone give me more information about them two