Welcome to HealingWell!
What type of IBS do you have? If you have IBS-D and you're going to the bathroom a lot, your headaches could be caused by dehydration.
I'm not too familiar with Anxiety symptoms... You may want to check out the Anxiety/Panic Disorder Forum here at HW.
Co-Moderator for the IBS Forum