Diarrhea management in patients with rectal cancer

What are the best forms of management for diarrhea in patients with rectal cancer?