Intermittent fasting can boost your health, but how and when to restrict food consumption is crucial