Get up and go for a walk helps too.
Keep monitor brightness around a white paper in whatever ambient light. Sometimes this requires dropping brightness to 0 and then decreasing contrast/sharpness.
Wear sunglasses after several hours of monitor use. Sometimes I’ll put a hat on to block the overhead lights, too. (Work in a shared/undimmable work area.)