As someone with autism and am a university instructor and someone who works in a very busy hospital with an infinite amount of distractions, I have found a few things that may help:
1. Take "mini breaks". Find a "safe place" where you can "chill out" for 5-10 minutes. It may be a quiet locker room, a break room, even a bathroom stall. Some place where you're least likely to interact with people. Take a drink of water. Catch your breath. Learn to use your relaxation techniques. Some days you might not need those breaks. Other days, you may need them several times a day. Understand your triggers and warning signs that you are reaching those "stress points" and be pro-active with your little breaks.
2. Regarding study habits: 30-45 minutes of intense study, then break for 15 minutes, then repeat. Your 15 minute break is a break from all mental activity. No video games. No scrolling through your social media. Nothing. Rest your brain. You can set a timer on your phone to keep you on task.
3. Sugary drinks and high-carb foods are pro-inflammatory, cause insulin release, cerebral vasodilation, and edema. It can cause a bit of internal pressure within your skull. Not really a headache, per se, but if you are feeling like your head and neck are warm, flushed with blood. You may just feel like crap. If the food is salty, it can also cause a rise in blood pressure that you don't want. Lay off the junk food and drink some water. Flush your system.
4. Get to bed on a regular schedule and try to get in a good 8-10 hours of rest, even if you're not sleeping throughout the night. Keep your biorhythms on a schedule.
5. Most of us spend way too much time indoors, under unnatural lighting, and exposing ourselves to light and electronic radiation from computers and electronic devices. Make time for some outdoor activity. Go for a walk out in the sun, bike, run, bring the dog, do some gardening, mow the lawn, wash the car, whatever it is you can do. Natural light will help your mood and make you feel better.
6. Supplements: L-theanine, chelated magnesium, methylated B-complex, broad-spectrum probiotic, N-acetyl cysteine are helpful for the autistic brain. There's plenty of research on this to look up.