Taking anxiety medication?

My mind will not stop racing and im having anxiety. Do you guys know if you can take ativan while pregnant? Obviously I would consult my doctor first but i wanted to check here with everyone?