Welcome to the forum!
A pain in head and neck area that aggravates with sneezing can be due to pinched nerves. This can happen due to overuse of computers, work involving straining of neck, canal stenosis, bone disease, spondylosis, poor posture etc. Use a hard bed to sleep. Avoid a pillow.
Roll a towel and place it under your neck while sleeping. Initially this will be uncomfortable but with time the acupressure will do wonders. Use an analgesic cream or spray.