The word 'gas' is misleading! - Does it mean you are belching
/ farting / or feel bloating?
' Gas' and headache are two different problems - they have no direct relation! Both of them could have a common cause like tension or depression!
Have your eyes checked for headache. Follow up with an Internist (General Medicine specialist) - he will suggest comprehensive assessment and assistance..