The IBS can be managed not only by medicines but the proper diet also has a key role in controlling symptoms of IBS. Your anemia might be due to IBS. I advise you to treat IBS first. There are many foods which you can take and can not take. I am referring 2 sites which might be helpful. Visit IBS trigger list, Food for IBS.