If a headache lands at roughly the same point in every night shift, that is not bad luck. Your body runs on patterns, and a few repeated triggers are usually driving it. The simplest way to see them is a two-week trigger diary.
You do not need a complicated app or a long checklist. A note on your phone is enough. Each shift, write two lines: the time the headache started, and what was going on an hour or two before it. The exact time matters more than the detail.
Be honest with it. Three coffees means three, not just some coffee. Four hours of sleep means four. A diary you edit to look better tells you nothing.
Put the lines side by side and the connection usually shows up fast. Most people find one of three shapes: pain arriving a fixed number of hours after the last meal, pain on the shifts where they barely drank water, or pain tied to long screen time in low light. Once you know the trigger, you can remove them one by one instead of guessing.
Then sort the entries by day of the week. Some people get hit on the first night back after days off, others on the last night before a long sleep. That tells you whether you are fighting your body clock or your shift habits.
Keep your shifts and your notes in one place. Shiftat-E helps you log your shifts and hours and plan your leave, so after two weeks you can open the diary next to the schedule and see which shifts cost you most. The tool holds the record; the decisions stay with you and your doctor.
This is general information, not a substitute for medical advice. If headaches are frequent, severe enough to interrupt your work, or come with dizziness or vision changes, see a doctor rather than waiting it out.
Start the diary tonight and make logging your shifts a habit. Download Shiftat-E on Google Play: https://play.google.com/store/apps/details?id=com.q8dm.shiftate