Many causes. If yours are triggered by the sun, avoid it if you can and get a good pair of sunglasses that don't allow the sunlight in.
See you doctor for a good exam and keep a headache diary
for headaches, description of the pain
and what you are doing/eating. All the best.