“Using your eyes too much” until you have a headache may be caused by eyeball cramps.
Many people experience headaches, nausea, vomiting, blurred vision, and inability to focus after being in front of the computer for a long time. This may be due to muscle cramps around the eyes and inside the eyes. Check for symptoms that require immediate medical attention.