Yellow discharge

The opening of my lady parts was red and a bit irritated (still is) since july 16 And very itchy, i had lots of white discharge, i thought it was a yeast infection i used monistat 7.

Two days ago was my last day using it. Since yesterday i noticed a funky smell and my panty liner was yellow discharge!!! What could this be??