Hello actiplay.
Sorry to hear about your diagnosis. Lot's of people on the forum have had this kind of surgery. It sounds like your surgery will involve the removal of the obstruction in your small bowel.
In some cases, the surgeons remove the effected portion and then attach the two sections of the bowel back together. This procedure is known as a resection. In other cases, an ostomy procedure may be performed. This would involve removing the obstruction, then diverting the small bowel through an opening in your abdomen. Waste products are deposited in a bag worn on the abdomen. This can either be permanent or temporary.
As far as I am aware, the type of surgery performed can depend upon the location of the obstruction. Your surgeons will explain which type of procedure they recommend for your particular case.
My own experience is with resection surgery, with removal of portions of small bowel in the ileum and jejunum. I did not personally have any major complications. As I understand it, there is always a risk of bowel perforation immediately after the operation, but it's a rare occurrence. You'll be monitored for several days after the surgery to make sure that the procedure has worked well, so you'll be in good hands if there are any complications. Depending on the location and amount of bowel removed, you may find that your body absorbs less fats, vitamins, etc. from foods. If this is the case, then you'll be advised on nutritional support.
It's not particularly nice reading about all the potential ways this kind of surgery can go wrong, but it's important to remember that these are all quite rare occurrences. Surgery always carries some risk, but most people in seems, myself included, find significant relief from abdominal pain after having the surgery. I have found that my quality of life have much improved since having the surgery.
Hope this answers some of your questions. Feel free to ask about anything else to do with the surgery. I can only share my personal experience, so be sure to ask the surgeons for more medically informed advice! I wish you all the best.