Nurses can encourage patient compliance by involving patients in their care planning, setting achievable goals, and providing consistent support and education. Positive reinforcement and regular monitoring can help motivate patients to adhere to their rest and activity plans. Building a trusting relationship with patients can also enhance compliance.