Depending on what’s causing the hip pain, moderate, low-impact exercise such as walking can help. However, if walking significantly increases pain, you may need to rest. Your medical provider can help you determine the right amount of activity for your condition.