Difficulty passing stool (constipation) is a common side effect of chemotherapy and pain medicine. It can also occur if you're not getting enough exercise and nourishment. These tips can help.