Treatment of a primary disease entity can help control seizures in some cases, provided that the underlying cause is investigated and treated.