Thanks lot the query,
Your symptoms of white discharge with itching indicates infection with candida albicans. you are suffering from candidiasis
It is less likely to be a STD
Diagnosis of candidiasis is by swab test.
treatment is by maintain good personal hygiene, local or systemic antifungal drug.