What I recommend are the eye exercises.
Here’s what I do:
Once in awhile focus on different objects in the room – some should be near you, others – far. Do this very fast, just switch your focus from one to another.
When you work on your computer remember to blink. Monitors often make us forget to blink and we end up staring at the screen for hours. Turn blinking to your habit – for a minute blink as fast as you can. This will prevent you from getting dry eyes and will keep your eyes stronger.
Put your warm palms on your eyes and close them. It will help you relax your eyes for a bit.
Just like when someone annoys you – roll your eyes a couple of times. This strengthens your eye muscles.
You’ve probably heard about the 20–20–20 rule before. Every 20 minutes look at an object that is 20 feet away for 20 seconds. This way you switch the focus and prevent myopia.
You can also try using a blue light filter like Iris. Especially if you spend more than 3–4 hours a day in front of a computer.