If I eat to much I get a migrane and I get a stomach ache feel like throwing up. Then when I poop I feel better with my stomach?

Other medical issues. Could also be a variant of irritable bowel syndrome (ibs). Also possible a food related allergy. Also lactose intolerance (depending on the food that was over eaten). Medical evaluation would be helpful.