Chemotherapy can cause constipation. This means not having a bowel movement often enough or having difficult bowel movements. Other medications, such as pain medication, can also cause constipation. Drinking enough fluids, eating balanced meals, and getting enough exercise can lower your risk of constipation.