headache is due to uneven sleep timing and food habits which lead to digestion issue like acidity, gas formation, bloating,indigestion.
dont skip meal. Do dinner early as possible.
avoid packged food, fast food.
Next Steps
please take antacid for some weeks along with digestive enzymes to increase your digestion power.