Help??

So I'm really scared I went to the doctors on Thursday and they gave me medicine for a yeast infection and it still hasn't gone away. It still really hurts to go to the bathroom and I haven't really been able to go. I also noticed I have a couple abrasions down there from having sex before I got the infection. I am so uncomfortable and just am thinking the worst at this point anyone have any idea on what it could be?