Need feedback on taking anti anxiety meds

Nina
I am 7 weeks and 5 days, and I have my first dr appt today! I suffer with really bad anxiety and occasionally I have to take Xanax. .5 mg. is it safe for my unborn baby?