Yeast infection

So I'm pretty sure I have that. But question is do I buy myself medicine or do I go to see a doctor?