One post on this and I won't shit up the board anymore.
Before we had seizure medications, doctors would put patients on ketogenic diets. The brain and nerves love ketones and use them for fuel. This means more fats, more protein and very little carbs. You can buy ketone test sticks at the store but the meters are better.
Also, the brain loves a regular schedule with sleep, eat, exercise, stress management etc.
Good luck anon.