It seems from the history that you are having a bump on the forehead associated with headache.
This indicates that you are having a infected cyst
probably a sebaceous cyst and the inflammatory symptoms are responsible for headache.
The treatment of the condition is by use of antibiotics and anti-inflammatory drugs. if the lesion presents with pus point it may require incision and drainage
Hence I advice you to consult your doctor for examination and treatment accordingly.