I have bad headaches, foggy pee white discharge stomach pains headaches foggy vision weak muscles belching and gas always have to pee and back pains?

Sounds serious. Foggy vision may be due to elevated blood sugar, diabetes. Cloudy urine could be infection or just from protein in the urine, also a sign to have your blood sugar checked.
See your doctor. With all these symptoms, no one can tell you what this is without examining you. See your doctor as soon as possible.