I'm not sure what to do

Shelby
After my boyfriend and I started having sex, I started getting a white discharge with a terrible odor.Before sex we both got tested.I thought it might be a yeast infection, but the only symptom is a bad odor.Any ideas of why I'm getting this or how I could get rid of it?