Intermittent fasting

How old can you do intermittent fasting? What is the step of doing intermittent fasting?