Surgery of the hip, knee, and shoulder can certainly be painful. In fact, we expect pain after surgery, but most importantly we expect to control it. Pain medication will be provided. Sometimes the medication will be changed and sometimes used longer or shorter by different patients following surgery.