If you’re not sure what causes a headache in your child there may be tests that can help determine the root cause. They include imaging tests like an MRI and blood tests for diabetes, cholesterol or other issues.