Shooting pain in temple

Chrissy
For the past 3-4 days everyday I get up from laying down I have this horrible shooting pain in my head . Lasts about 6-10 seconds. Once I lay down it goes away . Anyone have the same thing ?