Giving yourself a break with rest does not mean stop moving. You don’t want your joints becoming stiff. Move them through the fullest range of motion you can manage. You can do something as simple as slowly raising and lowering your legs while seated comfortably. Just be sure to pace yourself and don't overdo it. If something causes you more pain, stop immediately.