What do I do if I get diarrhea on a ketogenic diet?

There are three common errors made with a poorly-formulated low carbohydrate diet that can cause stomach and intestinal upset and diarrhea.