It is called Udaavarta in Ayurveda
All movements, like circulation, discharge, periods bleeding, baby delivery, bowel movement, heart beat, stool urine etc all such actions are caused by Vata or these are called Vata function.
If periods is not proper / the uterus and related organ function is disturbed then one symptom is headache
Next Steps
There must be a root cause in your routine..
like
skipping foods
late night sleeps/ day sleep
excess liquid intake even though no thirst
sprouts or raw veggies
over exercise...like
Health Tips
Need to identify such cause in lifestyle to correct it and to avoid further problem... which adds up in early curing too
Put oil to head ..any available oil will do..should be regular
add melted ghee in your hot food prevents such problem
jira boiled water with 2 tsp of butter before food helps to relieve headache during periods