Rest for painful eyes: is this advice always good?

Rest for painful eyes: is this advice always good?