Colostomy bag

Hi everyone, due to the SB, I have both urinary and fecal incontinence.

I have been contemplating the idea of undergoing surgery to put a colostomy bag.

The main reason I want to do it is due to sometimes having major diarrhea that make my diaper look a mere fashion statement instead of an actual barrier.

I have tried medication (loperamide hydrochloride) but it jams up my intestines so bad that it doesn't feel safe to use it anymore.

Anybody that is knowledgeable of this predicament could shed some light?