From your description, the pain appears to be throbbing in nature, sometimes one-sided and sometimes on both sides, and seems to get triggered by sunlight/heat, irregular sleep, and irregular meals. These features can sometimes be seen in migraine-type headaches or post-traumatic headache (headache persisting after a previous head injury). Poor sleep schedule, dehydration, prolonged fasting, heat exposure, and stress can also worsen headaches.
It would be important to know:
• Whether there is nausea, vomiting, sensitivity to light/sound, dizziness, blurred vision, or neck pain
• Any weakness, numbness, blackouts, seizures, or memory problems after the injury
• Frequency and duration of headache episodes
• Whether pain is exactly at the site of injury or spreads elsewhere
Next Steps
For now, maintain proper sleep, regular meals, adequate hydration, and avoid prolonged sun exposure if it triggers symptoms. Since this has been ongoing for a long time after trauma, a clinical examination is advisable to decide whether further evaluation (such as imaging if indicated) is needed.