Male Discharge

I’ve been experiencing discharge about two weeks ago and went to a clinic. got antibiotics, the discharge went away, but it wasnt an STI.

after masturbating last night, i woke up this morning with a yellowish green discharge on my penis. i have no idea what is causing this and it’s very stressful. any help would be appreciated.