Every 20 minutes, look 20 feet away, for 20 seconds.
There are many apps out there that can remind you. I use one on MacOS called Pause.