The causes of headaches when fasting differs from one person to another; nevertheless, there are natural methods that may be taken to avoid it, rather than taking painkillers.

The best method of course, is relaxation.