worried and annoyed

I got a UTI a few months ago and got sores on my vagina and it burned so bad when I peed I got medication and after a week or so it cleared up (worst week of my life) and just this morning I noticed it was back so I instantly took all the same medication before it gets horrible again. Has anyone else had this before ?