Can I just get it?

I’m most certain that I have a yeast infection. I’ve had one before in the beginning of the pregnancy and now I’m having the same thing again. Do I need to speak to my doctor or can I just go get the Monistat 7? I know that’s the only thing they will probably recommend since we can’t take fluconazole pill