This is a great article which summarizes food choices which are common triggers for headaches, but also those which may reduce them. A trigger that they didn’t mention is gluten–so try elimination of gluten, too, if you struggle with headaches. Schedule an appointment if you have frequent headaches or headaches of increasing intensity. There can be more ominous causes that require medical attention.