thrush in pregnancy

I'm over 12 weeks pregnant I have thrush. What has everyone used for it? I just went out and bought the boots own pessary im just checking this is ok to use during pregnancy? I've had it before with my son and used the same but just double checking x