John M. Weeter, MD (retired) says:Thank you for your question which is pertinent to many patients before many types of surgery. First, and foremost, discuss it with your surgeon. Prevention of constipation, which can be caused or aggravated by narcotic pain medicine, is a wise idea which is often recommended....