i used to take zoloft & diarrhea was a side affect for me, as was headaches. The headaches went away after a few months. The diarrhea I had on & off before taking it, but it did make it more frequent. I stopped taking Zoloft about
a year and a half ago (6 months before I got a bad IBS attack). But it is very common side affects that you are describing. If they are very bothersome you can ask your doctor to go on another anxiety med that doesn't cause the diarrhea. I have heard that Paxil can actually help with the diarrhea?
good luck to you.