A client with a long-leg cast screams with pain when the nurse elevates the leg on one pillow. Which action should the nurse take first?