What is the drug octreotide used for?

Diarrhea, carcinoid. It is used for refractory diarrhea when other medications do not work, and for treatment of carcinoid tumors and associated symptoms.