Around this time, Bernarr Macfadden, an American exponent of physical culture, popularised the use of fasting to restore health. His disciple, the osteopathic physician Dr. Hugh William Conklin of Battle Creek, Michigan, began to treat his epilepsy patients by recommending fasting. Conklin conjectured that epileptic seizures were caused when a toxin, secreted from the Peyer's patches in the intestines, was discharged into the bloodstream. He recommended a fast lasting 18 to 25 days to allow this toxin to dissipate. Conklin probably treated hundreds of epilepsy patients with his "water diet" and boasted of a 90% cure rate in children, falling to 50% in adults. Later analysis of Conklin's case records showed 20% of his patients achieved freedom from seizures and 50% had some improvement.
The trick here is not only to avoid all obvious sources of carbohydrate (sweets, bread, spaghetti, rice, potatoes), but also to be careful with your protein intake. If you eat large amounts of meat, eggs and the like, the excess protein will be converted into glucose in your body. Large amounts of protein can also raise your insulin levels somewhat. This compromises optimal ketosis.
Diabetes is one of the most common chronic diseases in the world. In 2014, diabetes affected about 387 million people worldwide and resulted in $612 billion dollars of health-related costs.  Unfortunately, as a conventional western lifestyle of poor nutrition and exercise habits becomes more popular, diabetes is expected to affect about 592 million people worldwide.  In the United States alone, diabetes increased from 5.58 diagnosed cases in 1980 to 22.3 million diagnose cases in 2013. 
SOURCES: WebMD Feature: "With Fruits and Veggies, More Matters." 2005 U.S. Dietary Guidelines. Elizabeth Ward, MS, RD, author, The Pocket Idiot's Guide to the New Food Pyramids. Elaine Magee, MPH, RD,author, Comfort Food Makeovers. Brian Wansink, PhD, professor and director, Cornell Food and Brand Lab, Ithaca, N.Y.; author, Mindless Eating. Barbara Rolls, PhD, professor of nutritional sciences; and director, laboratory for the study of human ingestive behaviors, Penn State University; and author, The Volumetrics Eating Plan.
Also, reducing sodium doesn’t restrict you to boring, bland food, nor does it mean you have to toss out the salt shaker. Yes, reducing the amount of salt you use and choosing lower-sodium products are key, but opting for fresh foods or whole foods instead of boxed, canned, and ready-to-heat items makes a big enough impact. Experiment with spices and herbs, and use a little salt to enhance flavor. Salt should never be the sole flavoring or seasoning in any in dish.
Make sure that the diet has been studied extensively for safety — and discuss any changes with your physician or registered dietitian before beginning a new diet. (If you don’t have a dietitian, find one in your area at the Academy of Nutrition and Dietetics website.) And do a self-check to ensure the diet fits with your own values and preferences.
Sleep enough – for most people at least seven hours per night on average – and keep stress under control. Sleep deprivation and stress hormones raise blood sugar levels, slowing ketosis and weight loss a bit. Plus they might make it harder to stick to a keto diet, and resist temptations. So while handling sleep and stress will not get you into ketosis on it’s own, it’s still worth thinking about.