Dont panic. There is a lot of info on the internet. Type in bladder and bowel foundation. Ring colostomy assoc. Having a stoma is no big deal. It may be temporary for three months to let the intestines heal and will be reversed.
I have opted for an ileostomy for incontinence. It will at least give me control over the toilet visits and I can ditch the nappies! Be brave, you will be fine.