Yeast Infection Help !!

So I got diagnosed with a Yeast Infection and took medication but I still have the same symptoms as before. What should I do?? The symptoms I have are itchiness, strong smell, and lots of smegma.