How long does it take for a yeast infection to heal?

I've had pain during sex for two months and I just found out that it is from a yeast infection. I went to the doctor and she gave me ointment 2 weeks ago. I finished using it but I am still experiencing pain during intercourse. I can't go on like this! It's putting a lot of strain on my relationship.
5 answers 5