Headaches

So I’ve been having these on and off headaches basically off summer some weeks they would never show up and then they would show up again it’s mostly in the front of my head and behind the eyes and in front of the ears and sometimes I’m the back but for like maybe 10 seconds or less does anyone know why this could be or if somethings wrong