fasting is the best diuretic in the world but the sudden drop in fluid retention at the beginning can bring on a massive headache just like alcohol dehydration does. next time it happens try drinking extra water first and see whether that helps before medicating.