Very true, as Alley said, what you describe is alarming as you did put yourself at risk for STDs.
Please see a physician ASAP, and testing for gonorrhea, chlamydia, NGU
is recommended.
A yellow green discharge is one of the symptoms of gonorrhea. Medical evaluation done by your physician or clinic physician is only the best route for treatment.