How do you stop headaches when studying?

I study for a long time every day but I have no choice because I take a long time to get concepts but I get really bad headaches and then I can't focus anymore. As soon as I stop for even a minute my headache goes away completely and then comes back if i study again. What should I do?
11 answers 11