Is it ok to get anxiety attacks while pregnant

I mean we are human.. i just have really bad anxiety and nerves.. alll the time.. a nervous heart...