Try brewing a cup of hot Lipton tea with lemon and drink it while smoking some weed. Your headache won't stand a chance!
you can make tea from ganja... that should help... but smoking it is easier.
Lavender helps me. Also I have stress induced headaches so anti-stress teas help me prevent a headache.
try some peppermint tea and my mom still gets this time to time,