Exertional headaches are a primary headache
They are brought on by physical activity, and can last 5 minutes to 48 hours. The trick is to either avoid the offending activity or take chronic medication to help prevent them. You can also try to scale back your activity and then slowly increase it to increase your tolerance. Definitely worth seeing the doctor about this.