First you should palpate to see if its a bruise. If it isn't try taking some pain medication such as Advil or Excedrin. Excedrin works the best for head and neck pain.
take some OTC pain relievers, stay out of areas that are highly lit, drink plenty of water, but before all of that, you should check for any physical damage, if the pain persists, contact a physician.