weird discharge smell

anyone know what could be the problem if my discharge smells strongly of vinegar? it’s mostly white and really thick but some is kind of yellow. not sure if it makes a difference or not but i’m supposed to be starting my period any day now.