Help with anxiety attacks?

Before getting pregnant I was taking Xanax for my anxiety attacks. My prescribing doctor told me to just take some children’s Benadryl instead of the Xanax once pregnant.

Has anyone heard of this or done it?

I can feel myself going into an anxiety spell as I type this.