what could this be?

Em
So I went to the doctor to get checked "down there" and they prescribed be some medicine because I have (well had) a yeast infection. I've had yeast infections before but I've never had this happen. Basically my clitoris / clitoral hood are very sensitive. Basically painful. Like if I touch my clitoris directly it doesn't hurt, but say if i move the skin of any part of my vagina then it hurts. For example when I wipe  and my skin on my lower vagina moves then I get this pain on/around my clitoris. Anyone have any ideas on what this could be? Or if this is just because of my yeast infection? Thanks!