Helpppp

I’m having white super smelly discharge get my period in 6 days any advise on how to stop the smell or if it’s and infection ???