Epilepsy can last for a long time, depending on the person's symptoms and how well they are treated.