If you are getting headaches while playing the game or in general by your screen, then make sure that you are giving your eyes a well-needed eye shut. However, dehydration and motion sickness can also be the reasons why you are having headaches while playing games.