Many IF approaches suggest only having water during fasting periods, however, when fasting for full, or even consecutive days (as with the 5:2 method), a small amount of calories are allowed (as much as 600 calories per day). But these rules are not set in stone, always listen to your body, and if you need to eat, eat.