Some anxiety medicines are considered safer than others in pregnancy, but not all are, and the shorter-acting sedative type among these is generally advised against continuing into pregnancy without a change in plan, since it can affect the baby's development and cause withdrawal symptoms in the newborn if used until delivery. This isn't something to decide or adjust alone.
Next Steps
Please speak with your psychiatrist and your obstetrician together, ideally soon, so they can switch you to pregnancy-safer alternatives if needed rather than stopping anything abruptly.
Health Tips
Don't stop any of these suddenly on your own, since abruptly stopping anxiety medication can itself be risky.