Tension headaches are pretty common. I would say that if you are sitting in front of your computer, you should take some breaks for movement and stretching. Headaches like you describe actually often come from the neck muscles so move your head by looking down and touching your chin to your chest, then go the opposite direction looking up. Go side to side. Feel a stretch. Stand up and stretch. Go for a short walk or job. Do a push up. To relax eyes, look away from the computer and then find the farthest point you can see by looking out a window. Stare at that point and then blink several times. This relaxes your eyes. good luck
Agree with the above post.
Nowadays, stress is a common problem among humans. To get rid of stress you can do some exercise, walk, and yoga also. If you are facing severe headache problem, you should visit to doctor ASAP.
You might be suffering from migraine. Consult your doctor. Depending on your symptoms your doctor will prescribe you the right treatment.