White smelly discharge and pain


So I’ve been having this white smelly discharge for a week now and pelvic pain . Could this be a yeast infection. I don’t have trouble peeing just pain on my stomach where my bladder is , what could this be uti or yeast infection? Plz help thanks in advance