Yeast infection

I'm 17 weeks pregnant and ive just noticed I've got a yeast infection, do I just buy something over the counter like Canesten or shall I call my GP first?