How to treat constipation from pain medications