Monistat for yeast infection

Anyone used Monistat while pregnant for a yeast infection? Is it safe?