should i just go to my pcp?

so i went to my ob yesterday & i told him i was having all the symptoms of a yeast infection & he gave me medicine for a uti.. my vagina hurts so bad i couldn’t even sleep lastnight