What is the best medicine for vaginitis according to the situation?

What is the best medicine for vaginitis according to the situation? Vaginitis is due to several reasons, it may be a bacterial, viral or fungal infection, so…