I'm struggling with headache for decades now. I was also obese for the most part of my life, and doctors always blamed it on obesity since MRI scans didn't show anything (thankfully).
When I lost weight I went to a neurologist and he put me on migraine meds which didn't help.
A few months after contracting covid in February 2023, my headaches got worse, so I went to a neurologist, doing an MRI again, which, as hoped and expected, showed nothing. So the doc put me on Amitriptyline, 5mg the first week, then 10mg.
The 5mg already showed successful results for 6 days... I was in a better mood, and I haden't felt any headaches except for the last day. I'm now on 10mg and I hope to go through summer without any headaches.
In any case, go see a doctor.