Certain children who are having problems with medications, or whose seizures are not being well controlled, may be placed on a special diet called the ketogenic diet. This type of diet is low in carbohydrates and high in protein and fat. No one knows exactly how the diet works, but some children do become seizure-free when put on the diet. However, the diet does not work for everyone.