When bleeding is caused by inflammation of the lining of the intestines, medications are given to decrease the inflammation.