For tv: take frequent breaks while tv and dip a handkerchief in cold water and keep it over closed eyes for 2 minutes during breaks, you will feel better. Also get
your eyes checked for any spectacle number.
For computer: take frequent breaks while you are working
every 20-25 mins take break to look away from screen
blink more frequently'
level of screen should be below the level of eyes
ac should not blow directly on your face.