Random sharp head pains for a few seconds. I get them a lot but this time had a pain in the side of my neck to. Neck been sore to recently. Related?

Sounds like tension. Tension headaches can give sharp shooting pain. I'd get checked by the doc at least once, though, because it would help to do a physical examination and rule out other stuff.