I have quite bad IBS brought on mainly through stress and anxiety is there anything I can do its been 4 days of continueous pain and needing the toile?

See Dr. And consider Librax (clinidium and chlordiazepoxide) or levsin. Both oldies but goodies.
See your doctor ASAP. If that isn't possible right away, go to the emergency room for assistance. There are serious issues with ibs (irritable bowel syndrome) including losing electrolytes, dehydration and even bleeding or infection that can coexist with ibs and need immediate care. Start now. You can deal with the anxiety later.