Talk to your healthcare provider if you suspect you have hypnic headache. Nonrestorative sleep and difficulty functioning the next day are significant problems for people with migraine.