Take breaks and focus your eyes on something further away - for example by looking at something outside.
The app Stretchly (free, open source) can display periodic reminders to take breaks from the screen. [0] I can't recommend it enough. It worked well for my RSI too. Alternative apps are Workrave or Workpace.