A ketogenic diet is not a diet that you can wilfully choose to go on and off of at any point. It takes time for your body to adjust and go into a state known as ketosis. This process? Anywhere from 2 – 7 days, depending on your body type, activity levels, and what you’re eating. The fastest way to get into ketosis is to exercise on an empty stomach, restrict your carbohydrate intake to 20g or less per day, and be vigilant with your water intake.
To improve the rate at which you enter ketosis, there is a method called Fat Fasting. I’ve written an article on Fat Fasting on a Ketogenic Diet and everything involved with it. Make sure that if you use this method, it is only for a few days, otherwise it can bring harm to you.