how to avoid headache during fasting