Pregnant & need to take Hydroxyzine for hives!?

Ali
So I have a yeast infection due to pregnancy but when they gave me fluconazole I started getting hives & have Hydroxyzine for it. I googled it & keep seeing don't take that medicine if pregnant but I'm very miserable! What should I do???