getting anxiety attacks during Pregnant?

So im 3 months pregnant.. i been getting anxiety a lot lately and its starting to scared me because i might lose the baby or no????

i went to my doctors yestday and told her that i'm getting horrible anxiety attacks almost everyday.. and she said i should be okay that just to breathe and sleep earlier .. she said i can smoke weed????? but i don't believe her at allll 😪😪because that's dangerous right ????i rather take pills instead of weed... if it's non dangerous . what should i do??)???? how should i help me anxiety atttacks????? they always happen at night or during sleep