My heart hurts and thumps every so often
could be a extra beat. If you have apple watch, record and ecg and send to your doctor
Headaches that thump are often migraine.