Sex burns after yeast infection?

I had a yeast infection about a month ago I went to the doctors took whatever pill they gave me and everything cleared up. However since then whenever I have sex the my vagina hurts and has this burning feeling. What's going on? I read somewhere online that it takes a while for your vagina to heal after the irritation the infection caused. Anyone else experience this? I only get the burning feeling when I have sex.