Hello and welcome to eHealth forum!
Well, generally a clumpy white discharge with a bad odor and taste is due to yeast infection. You can use a combination of two or more antifungals (Clotrimazole 1%, Miconazole nitrate 2%, Tolnaftate 1%, ketoconazole, terfibnafine and Butenafine hydrochloride 1%) and apply locally in the vagina until the infection goes.
Please consult your gynecologist regarding this as a confirmed diagnosis and treatment is not possible on net. Hope this helps. Take care!