Sounds like crappy weed. The only time I've gotten headaches is from holding my breath too long or smoking vape duff or resin in massive amounts, and a brain freeze from the ice cream, M I RITE? Also try smoking less and not eating so much before getting high,you want to enjoy the food while high.