Hello Friend, Good that your seeking to help. Reason for headaches are many like either from body or mind. Ex digestion, constipation, blood pressure, sinus etc cause headaches from body. Stress, anxiety or depression causes headaches from mind. So it's important to isolated it. In your case, it be due to exam pressure, eating, lifestyle, usage of mobile, Internet etc.
Just organize your day and control your lifestyle. If you still need assistance, the take a counseling support.
Health Tips
Regulate your study schedule. Sit in a ergonomic posture while studying. Have a cup od warm milk before sleep. . Do a oil massage for your neck and do foot massage for good sleep.