Hello Friend, Good that you are seeking a help here. As your work is more Intensed, focused, and more mentally involved , it's quite common to experience such headaches.
You need to follow a work life balance and prevention health measure to keep your body and mind healthy.
While you can follow a general guidelines of yoga, meditation and exercise routines, I would still recommend you for a complete mental and physical health assessment through a psychologists to recommend more appropriate and suitable stress management plan.
Next Steps
Feel free to reach out to me online through Practo app for further detailed evaluation and suitable recommendation that you can follow practically to overcome this stress. Be positive. You will be alright soon.