Benadryl when pregnant?

Hey ladies, I'm currently 39 weeks and have been experiencing nonstop itchiness and hives  my doctor told me to try 25ml of Benadryl anyone else take this when pregnant ? If so did it help ? Also I can't harm the baby correct? Thank you ladies❤