I was prescribed zoloft and xanax last month for anxiety. The xanax is only as needed. I've taken a total of 5 pills, the last pill I took was this past Monday. They are .25 mg, the lowest possible dose. I was a week and 2 days late so I took a pregnancy test yesterday and it was positive.