Does epilepsy & seizures cause brain damage?

My wife has seizures about 1-2 times a month. She is taking medicine for it. Does anyone know if it causes either memory loss or brain damage. Over the years, it seems like she is no longer as sharp as she use to be.